Crontab @reboot directive

andrew clarke mail at ozzmosis.com
Tue Apr 22 21:29:54 UTC 2008


On Tue 2008-04-22 17:03:41 UTC-0400, Robert Huff (roberthuff at rcn.com) wrote:

> >  > > @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?
> >  
> >  Since I have root access on that machine, yes I could do that.  But
> >  for my particular setup I couldn't see any advantage.  Plus, the less
> >  I need to edit system-wide config files, the better, I think.
> 
> 	I'm confused: how is /etc/rc.conf any more a "system-wide
> config file" than /etc/crontab?

I run fetchmail from the user crontab (edited with "crontab -e"), not
/etc/crontab.


More information about the freebsd-questions mailing list