Crontab @reboot directive

Gerard gerard at
Tue Apr 22 20:35:20 UTC 2008

On Tue, 22 Apr 2008 21:18:26 +1000
andrew clarke <mail at> wrote:

> On Tue 2008-04-22 12:34:12 UTC+0200, Zbigniew Szalbot
> (zszalbot at wrote:
> > If I want to start a program at every system reboot and the program
> > should not be started by root, is it enough for me to edit a users
> > crontab with the following directive?
> > 
> > @reboot /path/to/
> Yes.  This is how I start fetchmail after a reboot:
> @reboot /usr/local/bin/fetchmail -d 120

Is there a specific reason that you choose to do that rather than
starting it by adding: fetchmail_enable="YES" to the /etc/rc.conf file?

gerard at

The solution of problems is the most characteristic
and peculiar sort of voluntary thinking.

	William James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list