Crontab @reboot directive
jerrymc at msu.edu
Tue Apr 22 21:53:51 UTC 2008
On Tue, Apr 22, 2008 at 05:03:41PM -0400, Robert Huff wrote:
> andrew clarke writes:
> > > > @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 think it would be a matter of convention and way of speaking.
Configuration settings values are done in /etc/rc.conf.
The crontab file contains directions to run specific things at
specific times. Setting these things up is a type of configuration
activity, of course, but not the way it is in rc.conf.
> Robert Huff
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions