"hemant" <hemant(_at_)teamlease(_dot_)com> writes:
Hey can anyone help me?
I want to start fetchmail automatically whenever machines start on. So what
is the command for that?
Please:
1 - do not hijack other threads
2 - do not respond to digest posts
Some systems (SUSE Linux 10.0 for instance) use newer ISC Cron versions
which support a "@reboot" nickname in your crontab.
If yours does not, just use a rule that runs fetchmail every 30 minutes
and pipes the output into "grep -v" so it doesn't mail you the
"fetchmail: background fetchmail at 17916 awakened.", for example (put
this on a single line; assuming fetchmail were to be started for the
user james):
@reboot james /usr/local/bin/fetchmail
OR:
15,45 * * * * james /usr/local/bin/fetchmail | grep -v 'fetchmail: background
fetchmail at .* awakened"
--
Matthias Andree
_______________________________________________
Fetchmail-friends mailing list
Fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org
http://lists.ccil.org/cgi-bin/mailman/listinfo/fetchmail-friends