Date: Wed, 14 Aug 2002 07:30:44 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Anubis <anubi@mail.ru> Cc: freebsd-questions@FreeBSD.ORG Subject: ppp.linkup scripts, was Re: Please help me Message-ID: <20020814063044.GA2827@happy-idiot-talk.infracaninophi> In-Reply-To: <000d01bdc6ef$2cedb060$99bb23d4@airslip> References: <000d01bdc6ef$2cedb060$99bb23d4@airslip>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 13, 1998 at 11:18:35PM +0400, Anubis wrote: I think you need to fix your system clock --- you seem to be about 130 million seconds slow... > I want to start "sendmail -q" and "fetchmail" in a script > ppp.linkup. How can I did it. Try this as a ppp.linkup script: # # Stuff to run when the PPP link comes up # papchap: !bg /usr/sbin/sendmail -q !bg /usr/local/bin/fetchmail -f /usr/local/etc/fetchmail.cfg # # The End. # That's assuming a) You use the 'papchap' target ain your ppp configuration, which is the default, and b) you've put together your fetchmail config such that everything is contained within the given file. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020814063044.GA2827>