Talk:Crond

From WebOS Internals

Jump to: navigation, search

Is /opt/bin/crontab -e the original cron file that we should not be editing? If so does the package install of of cron need to be updated?

Keep these things in mind when running the cron daemon that ships with the Pre.


  • The daemon reads files in /etc/cron/crontabs/
  • crontab -e edits files in /var/spool/cron/crontabs/
  • When crontab -e does an edit, it makes a temporary copy of the file, which is what the user actually edits, verifies the changes, and then replaces the existing file.
  • Changes should be made using a regular editor to /etc/cron/crontabs/*


Alternate event.d config

I could only get crond to run on startup with these parameters in mod-crond...

start on stopped finish
stop on runlevel [!2]

But then it has the issues with stopping when going to sleep.

--Xorg 18:57, 16 December 2009 (UTC)

Cron log file does not rotate.

Just a heads up that the cron log file is not rotated, if filled up my /var volume one day and I had to manually purge it. I intend to look into getting the cron log added to the normal log file rotations, unless someone beats me to it... --Dolio 05:38, 5 July 2010 (UTC)

Personal tools
Google AdSense