Created
June 9, 2018 08:56
-
-
Save d-oderbolz/74790f4d908dbabb652e0013540f1842 to your computer and use it in GitHub Desktop.
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
0 22 * * * root flock -n /var/services/homes/admin/lock/backup.lock /var/services/homes/admin/bin/backup.sh |
Note how I use flock to make sure just a single instance is running. Also note that the lock file is not located in /tmp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is my crontab entry om my synology NAS for the backup script