From owner-freebsd-questions Tue Aug 24 20:46:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from nisser.com (n2000039.telekabel.chello.nl [212.187.0.39]) by hub.freebsd.org (Postfix) with ESMTP id 0B0D214E32 for ; Tue, 24 Aug 1999 20:46:21 -0700 (PDT) (envelope-from roelof@nisser.com) Received: from nisser.com (roelof [10.0.0.2]) by nisser.com (8.9.3/8.9.2) with ESMTP id FAA73739; Wed, 25 Aug 1999 05:44:27 +0200 (CEST) (envelope-from roelof@nisser.com) Message-ID: <37C36696.37083265@nisser.com> Date: Wed, 25 Aug 1999 05:44:22 +0200 From: Roelof Osinga Organization: eboa - engineering buro Office Automation X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Ludwig Pummer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: System startup scripts References: <37C35950.9CF09A7E@nisser.com> <37C35E8F.3AD68C88@bigfoot.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ludwig Pummer wrote: > > Don't know about user startup dirs. You could do what I did for running > rc5des as a user: > > idprio 31 nice -20 su ludwigp -c /home/ludwigp/bovine/rc5des Thanks, that'll do nicely. > (stick this into a file in /usr/local/etc/rc.d or somewhere in rc.local) > > fetchmail, however, is a good candidate for a user crontab entry, where > each user can have their own cron jobs. > > >crontab -e > PATH=/sbin:/bin:/usr/bin:/usr/local/bin > HOME=/home/ludwigp > #minute hour mday month wday command > 0 3 * * * fetchmail -s -L > $HOME/.fetchmaillog Not in daemon mode it don't. Giving a "-d " makes it be its own cron. OTOH, I just assumed daemon mode would be the way to go. But... is it really? Crontab does indeed prevent the above problem and its overhead in starting fetchmail should be negligable. Again thanks, with that daemon mode on the brain I hadn't considered this solution. Roelof -- Home is where the (@) http://eboa.com/ is. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message