Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
devops:crontab [2022-03-31] dcaidevops:crontab [2022-05-15] (current) dcai
Line 6: Line 6:
 redirect all error output to a file, ''&>> /tmp/whatever.log'' isn't support by ''sh'', so use command below instead: redirect all error output to a file, ''&>> /tmp/whatever.log'' isn't support by ''sh'', so use command below instead:
  
-  12  *  *  *  * /opt/homebrew/bin/brew update >> /tmp/brew.log 2>&+<code> 
-  30  */3  *  *  * /opt/homebrew/bin/rsync -av -O --delete /Users/dcai/Dropbox /backups/machinefolder/ >> /tmp/backup.log 2>&+12  *  *  *  * /opt/homebrew/bin/brew update >> /tmp/brew.log 2>&
 +20  */3  *  *  * /opt/homebrew/bin/rsync -a -O --delete /Users/dcai/Downloads /Volumes/JUPITER/backups/duck/ >> /tmp/backup.log 2>&
 +30  */3  *  *  * /opt/homebrew/bin/rsync --O --delete /Users/dcai/Dropbox /Volumes/JUPITER/backups/duck/ >> /tmp/backup.log 2>&
 +40  */3  *  *  * /opt/homebrew/bin/rsync -a -O --delete /Users/dcai/Music /Volumes/JUPITER/backups/duck/ >> /tmp/backup.log 2>&
 +50  */3  *  *  * /opt/homebrew/bin/rsync -a -O --delete --exclude "node_modules" /Users/dcai/src /Volumes/JUPITER/backups/duck/ >> /tmp/backup.log 2>&
 +01  */1  *  *  * /usr/bin/curl 'wttr.in/Sydney?format=%l:+%c+%f' > /tmp/weather.info 
 +</code>
  
  
devops/crontab.1648717946.txt.gz · Last modified: by dcai