Last active
December 16, 2015 06:08
-
-
Save SwathiMystery/5389305 to your computer and use it in GitHub Desktop.
To clean log files and re try the uploads : cron
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ crontab -e | |
Add the following lines at the end and save. | |
# EVERY SATURDAY 8:00AM clean watcher log | |
0 8 * * 6 sudo sh /home/ubuntu/s3sync/clean_log.sh | |
# EVERYDAY at 10:00AM check failed uploads of previous day | |
0 10 * * * sudo sh /home/ubuntu/s3sync/re-upload.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment