27 Feb 2007 at 13:44 #1 zetec452 zetec452 Soldato Joined 15 Sep 2003 Posts 9,454 Hey, Is it possible to set a cron to run between a certain time. I.E 7-m until 6am? Can't seem to find anything on the net. Cheers, Jon
Hey, Is it possible to set a cron to run between a certain time. I.E 7-m until 6am? Can't seem to find anything on the net. Cheers, Jon
27 Feb 2007 at 14:00 #3 zetec452 zetec452 Soldato OP Joined 15 Sep 2003 Posts 9,454 Is that the minute in which the cron tab will start? Basically I've got some backups to do but want to download them off speak else i'll have a nice bandwidth bill. . I was thinking about starting the script at 8pm then at 6am the following morning set a cron to kill the script? Its a dirty way of doing it though.
Is that the minute in which the cron tab will start? Basically I've got some backups to do but want to download them off speak else i'll have a nice bandwidth bill. . I was thinking about starting the script at 8pm then at 6am the following morning set a cron to kill the script? Its a dirty way of doing it though.
27 Feb 2007 at 14:48 #5 zetec452 zetec452 Soldato OP Joined 15 Sep 2003 Posts 9,454 Hey Adam, Having the script stop will only be a short term measure so I may just make a cron to kill the script. I presume a bit of perl would be needed to stop and resume a script. Cheers
Hey Adam, Having the script stop will only be a short term measure so I may just make a cron to kill the script. I presume a bit of perl would be needed to stop and resume a script. Cheers
28 Feb 2007 at 15:44 #7 zetec452 zetec452 Soldato OP Joined 15 Sep 2003 Posts 9,454 I'm using rsync so it will automatically continue from where it started. I'll try that command though. . Cheers.
I'm using rsync so it will automatically continue from where it started. I'll try that command though. . Cheers.