user specific startup

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Sep 2 23:28:12 UTC 2004


Am Fr, den 03.09.2004 schrieb Steven Stern um 1:16:

> I want to run fetchmail under my user account at startup.  What's the best way
> to launch it?
> 
> I tried using cron with "fetchmail -d 600", but that generates errors for all
> subsequent invocations.

The daemon mode is wrong in a crontab.

> Where can I put init entries for specific, non-root accounts?

>   Steve 

If you prefer the fetchmail daemon mode then write an init script which
is started in your normal runlevel. An example script you can find in

/usr/share/doc/initscripts-7.55.1/sysvinitfiles

I run fetchmail myself through a cronjob in the users crontab:

*/5 * * * * if [ "`ps --User myname | grep fetchmail`" == "" ]; then
/usr/bin/fetchmail > /dev/null 2>&1; fi

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 01:23:51 up 3 days, 22:40, load average: 1.93, 2.25, 2.10 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040903/830662f2/attachment-0001.sig>


More information about the fedora-list mailing list