Difference between revisions of "Talk:Crond"

From WebOS Internals
Jump to navigation Jump to search
Line 5: Line 5:
 
Keep these things in mind when running the cron daemon that ships with the Pre.
 
Keep these things in mind when running the cron daemon that ships with the Pre.
  
1. The daemon reads files in /etc/cron/crontabs/
+
 
2. crontab -e edits files in /var/spool/cron/crontabs/
+
 
3. 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.
+
* The daemon reads files in /etc/cron/crontabs/
4. Changes should be made using a regular editor to /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/*

Revision as of 18:32, 24 August 2009

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/*