Change Schedule Time for Backups

vittox

Registered
Feb 7, 2011
2
0
51
Peru
Hello, I am using WHM VPS Optimized version 11.28.64 and want to know if there is a possibility to change the time at which the Backup has been schedules for every selected day ?

I would prefer to have different backup schedule times for every selected day.

Thanks,

Team Vittox.com
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Hello vittox,

The backup cron is set in crontab -e in root SSH or you can edit the /var/spool/cron/root file. It is the line that called /scripts/cpbackup for the cron entry.

Now, the backup is a daily cron that is set at the same time. If you want to set it for different times each day, you'd have to revise the existing entry and then add different entries for each of the other days you want it to run. I'm uncertain why you'd want it different times each day, since normally it's easier to pick the least busy times on the machine, but you can certainly change the times.

The only issue that will happen is that the cron is reset periodically by major cPanel updates, so you may need to recheck it once a week to ensure it is still running at your preferred times.

Finally, there is an option to add the upcp and cpbackup cron times into WHM to change them for the default entry. You can enable this in WHM > Manage Plugins by selecting the cronconfig option and checking " Install and keep updated" then saving that area. After installing cronconfig, a link will appear under WHM > Plugins area called "Configure cPanel Cron Times"

Thanks.