Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'For root-owned stuff, use the system crontab' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
For root-owned stuff, use the system crontab
Authored by: grrl_geek on Jul 10, '03 11:34:52AM

You can always add a line to /etc/crontab/, which will then run as root. You have to restart the computer or cron afterwards, I believe. Beware of typing mistakes while running as root. You may have a unscheduled scheduled reinstall! :)

If you don't have to run as root, then the personal crontab is a much better and less dangerous way to go.

---
~~~~~~~~~~~~~
Sinker sucker socks pants, apocryphal awry!



[ Reply to This | # ]
For root-owned stuff, use the system crontab
Authored by: googoo on Jul 10, '03 01:17:21PM

You do not have to restart anything after modifying /etc/crontab. The cron process reads the /etc/crontab file (along with the various user crontab files) each minute to see if anything needs to run. For more information, check out the cron and crontab man pages.

-Mark



[ Reply to This | # ]
Thanks
Authored by: grrl_geek on Jul 10, '03 08:09:44PM

Cool, thanks for the info, Mark.

Rachel

---
~~~~~~~~~~~~~
Sinker sucker socks pants, apocryphal awry!



[ Reply to This | # ]