Inidian

Crontab

Aug 30th, 2013
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. crontab
  2.  
  3. sudo crontab -e
  4.  
  5. #########################################################################
  6.  
  7. #Squid
  8. 0 1 * * * /usr/sbin/squid -k rotate; p7zip /var/log/squid/access.log.1
  9. 0 7 * * * /etc/init.d/squid restart
  10.  
  11. #Calamaris
  12. 0 0 * * * /etc/calamaris/calamariscron
  13.  
  14. #Sarg Cron
  15. #00 02-23/2 * * * /usr/sbin/sarg-reports today
  16. #00 00 * * * /usr/sbin/sarg-reports daily
  17. #00 01 * * 1 /usr/sbin/sarg-reports weekly
  18. #30 02 1 * * /usr/sbin/sarg-reports monthly
  19.  
  20. #Lightsquid
  21. */20 * * * * /var/www/ls/lightparser.pl today
  22.  
  23. #########################################################################
Advertisement
Add Comment
Please, Sign In to add comment