stoolpigeon
Programmer
I have written a script to run back ups on a database.
Now I want to create a schedule for those back ups to run. I have a decent idea of how to set up a cron job but it does not seem like that tool can do what I need.
I would like to execute this batch file every 2 hours starting at 0:00 (midnight) running to 02:00. Then not running for 6 hours. Start back up at 08:00 and run until 23:59. (Basically I want it to run from 8 a.m. until 2 a.m. the next day and not run between 2 and 8 every morning so that I can do some other maintenance stuff)
Can I do that in a cron job or is there some other utility that I can use?
Thanks much for the help,
Ron
Now I want to create a schedule for those back ups to run. I have a decent idea of how to set up a cron job but it does not seem like that tool can do what I need.
I would like to execute this batch file every 2 hours starting at 0:00 (midnight) running to 02:00. Then not running for 6 hours. Start back up at 08:00 and run until 23:59. (Basically I want it to run from 8 a.m. until 2 a.m. the next day and not run between 2 and 8 every morning so that I can do some other maintenance stuff)
Can I do that in a cron job or is there some other utility that I can use?
Thanks much for the help,
Ron