On Tuesday 10 June 2008, Teng Wang wrote: > Hi, > > Thank you very much. But how I can use @reboot? It > might be good if I just run fetchmail once after rebooting.
I don't understand your question, the man page clearly tells you how to use it: Replace the first five columns in a crontab file with '@reboot' and cron will run the command once when it starts up. So, do make sure that the command actually runs - maybe you are making one of the many classic cron errors and your script is faulty, not cron. Maybe you have an older version of cron that doesn't support @reboot and are reading a newer man page. If this all checks out OK and it still doesn't work, then cron is not behaving the way it's own documentation says it should, this is a bug and should be reported to the cron developers -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list