SHARE
TWEET

Untitled

a guest Jun 25th, 2019 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SHELL=/bin/bash
  2. PATH=/sbin:/bin:/usr/sbin:/usr/bin
  3. MAILTO=root
  4. HOME=/root
  5.  
  6. # Heart beat
  7. * * * * * echo `date` >> /var/log/cron.log
  8. # cron backup
  9. 0 12 * * * crontab -l > /home/vagrant/BACKUP/crontab.txt
  10. # updatedb commands
  11. # docker system
  12. 0 12 * * * time updatedb >> /var/log/cron.log 2>&1
  13. # C drive home
  14. 1 12 * * * time updatedb -U '/home/vagrant' --output='/var/lib/mlocate/mlocatelocal.db' >> /var/log/cron.log 2>&1
  15. # Share Common
  16. 4 12 * * * time updatedb -U '/ShareUsers/UserTokki/Common' --output='/var/lib/mlocate/mlocatecommon.db' >> /var/log/cron.log 2>&1
  17. # Share Personal
  18. 12 12 * * * time updatedb -U '/ShareUsers/UserTokki/Personal' --output='/var/lib/mlocate/mlocatepersonal.db' >> /var/log/cron.log 2>&1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top