1
0

README.cron 1.1 KB

12345678910111213141516171819202122
  1. Run scripts or jobs on a periodic basis
  2. =======================================
  3. Any scripts or jobs added to the minutely, hourly, daily, weekly or monthly
  4. directories will be run on a scheduled basis (frequency is as indicated by the
  5. name of the directory) using run-parts.
  6. run-parts ignores any files that are hidden or dotfiles (.*) or backup
  7. files (*~ or *,) or named *.{rpmsave,rpmorig,rpmnew,swp,cfsaved}
  8. The presence of two specially named files jobs.deny and jobs.allow controls
  9. how run-parts executes your scripts/jobs.
  10. jobs.deny ===> Prevents specific scripts or jobs from being executed.
  11. jobs.allow ===> Only execute the named scripts or jobs (all other/non-named
  12. scripts that exist in this directory are ignored).
  13. The principles of jobs.deny and jobs.allow are the same as those of cron.deny
  14. and cron.allow and are described in detail at:
  15. http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Automating_System_Tasks.html#s2-autotasks-cron-access
  16. See: man crontab or above link for more details and see the the weekly/
  17. directory for an example.