Hello,
how can i set the weekly and monthly backup to run on sunday? it run evry time on monday
thankyou
Hello,
how can i set the weekly and monthly backup to run on sunday? it run evry time on monday
thankyou
Edit your cronjobs which call the backup script and make them look like the following.Originally Posted by adapter
For weekly backup at 06:05am on each Sunday:
5 7 * * 0 /path/to/backup/script
OR
5 7 * * 7 /path/to/backup/script
0 and 7 are considered as Sunday afaik
For monthly backups (if you like them on the first Sunday of the month)
5 5 1-7/1 * 0 /path/to/backup/script
Note: I have not tried this out personally, but dont think it will fail you either. Do let me know whether it worked for you![]()
umm sorry but in my cron i have only
0 1 * * * /scripts/cpbackup
so i think that the weekly and monthly backup is schedule inside the script and not in the cron