Ren

Member
Jun 16, 2002
22
0
151
Hello, where would I be able to find the crontab file for the daily backups? Our server is backing up just a couple hours too early, and its running during our peak hours.

Thanks.
 

ThunderHostingDotCom

Well-Known Member
Nov 18, 2002
449
1
168
All over!
[quote:13e28007b9][i:13e28007b9]Originally posted by squirrel[/i:13e28007b9]

/var/spool/cron/root

see this thread
http://forums.cpanel.net/read.php?TID=5407&page=1#23486[/quote:13e28007b9]


Where can I find a list of vaild code to input into the cron file for the server to preform crons? I would like to create a cron that reboots our server on a weekly or even at a minimum of monthly basis. Any help is appreciated!
 

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
ON, Canada
What the cronjob setting does is run a program or script. You would need a script to reboot, then set a cronjob to run it when you want it done. I think /scripts/reboot might be what you want but you may want to wait until we get a reply to verify or correct this first.
If I'm correct about the script, this would give you a weekly reboot every Sunday at 5:30am.
30 5 * * 0 /scripts/reboot