Created
October 19, 2018 09:07
-
-
Save wwwins/131e258b846386264020432a8ddc72d2 to your computer and use it in GitHub Desktop.
intel-8th crontab
This file contains hidden or 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
*/5 * * * * /usr/local/bin/autossh.sh | |
#20 0 * * * find /home/isobar/upload -type f -mtime +0 -exec mv '{}' /mnt/data/backup/ftp/ \; | |
#22 0 * * * mkdir /mnt/data/backup/public/$(date +\%Y\%m\%d);find /home/xxx/intel-8th/public -mindepth 1 -type d -mtime +0 -exec mv '{}' /mnt/data/backup/public/$(date +\%Y\%m\%d)/ \; | |
31 0 * * * mkdir /mnt/data/backup/ftp/$(date +\%Y\%m\%d);mv /home/isobar/upload/*.mp4 /mnt/data/backup/ftp/$(date +\%Y\%m\%d)/; | |
41 0 * * * mkdir /mnt/data/backup/public/$(date +\%Y\%m\%d);mv /home/xxx/intel-8th/public/* /mnt/data/backup/public/$(date +\%Y\%m\%d)/; | |
@reboot /usr/bin/forever --workingDir /home/xxx/intel-8th start /home/xxx/intel-8th/src/app.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment