-
Notifications
You must be signed in to change notification settings - Fork 10
Migration
elmiratjee edited this page Nov 5, 2020
·
1 revision
To set the cronjob for the file you need to take the following steps:
- Edit the crontab file for the logged-in user
crontab -e
If you are using crontab for the first time choose your preferred editor
- Add the following line to the file:
0 */12 * * * /home/ubuntu/docker_compose/backup.sh
- Check if it is saved correctly with
crontab -l