crontab 1.1 KB

123456789101112131415161718192021222324
  1. # /etc/crontab: system-wide crontab
  2. # Unlike any other crontab you don't have to run the `crontab'
  3. # command to install the new version when you edit this file
  4. # and files in /etc/cron.d. These files also have username fields,
  5. # that none of the other crontabs do.
  6. SHELL=/bin/sh
  7. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
  8. # Example of job definition:
  9. # .---------------- minute (0 - 59)
  10. # | .------------- hour (0 - 23)
  11. # | | .---------- day of month (1 - 31)
  12. # | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
  13. # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
  14. # | | | | |
  15. # * * * * * user-name command to be executed
  16. 17 * * * * root cd / && run-parts --report /etc/cron.hourly
  17. 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
  18. 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
  19. 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
  20. 1 * * * * root sh /game/sh_auto/mongo_auto_dump_mv.sh
  21. 1 * * * * root sh /game/sh_auto/mongo_auto_dump_cocosmv.sh
  22. #