From owner-freebsd-questions Tue Aug 24 20:14:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from inet.chip-web.com (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (Postfix) with SMTP id E604415285 for ; Tue, 24 Aug 1999 20:14:35 -0700 (PDT) (envelope-from ludwigp@bigfoot.com) Received: (qmail 20366 invoked from network); 25 Aug 1999 03:11:35 -0000 Received: from speedy.chip-web.com (HELO bigfoot.com) (172.16.1.1) by inet.chip-web.com with SMTP; 25 Aug 1999 03:11:35 -0000 Message-ID: <37C35E8F.3AD68C88@bigfoot.com> Date: Tue, 24 Aug 1999 20:10:07 -0700 From: Ludwig Pummer X-Mailer: Mozilla 4.61 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Roelof Osinga Cc: freebsd-questions@FreeBSD.ORG Subject: Re: System startup scripts References: <37C35950.9CF09A7E@nisser.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Roelof Osinga wrote: > > I use fetchmail to fetch the mail from a provider that doesn't seem to > be able to, or to be willing to, set it up right. I'll not name names > but if you give 'host eboa.com' you'll see what I mean. > > There is a variable that controls what dirs get checked > for scripts, is there a way to trick it to check home relative dirs as > well? 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 (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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message