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
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil