Jump to content


Photo

Cron in Zero 11


  • Please log in to reply
No replies to this topic

#1 spen2

spen2

    Newbie

  • Member
  • Pip
  • 1 posts
  • Main OS: Windows 7

Posted 12 March 2014 - 08:53 AM

Hi, neat little wamp server you've put together here!

 

I just have a question regarding cron. Is there is a way to run a script between a specific time period? Every hour between 0600 - 1800 for example. I currently use windows task scheduler to do this but would like to pass the job over to cron in Uniserver if possible!

 

Also, my cron jobs seem to go out of sync. If I happen to restart the server, the job then runs straight away after a restart, and not on the specific time interval since the start time I specified. E.g I specify a start time of 2014-3-11 10:00:00 with a period to run hourly. I then restart the server today at 1342. The job will then run every hour from 1342 and not on the hour as I specified originally (1400, 1500, 1600 etc). Is there a way around this without resetting the start time every time I restart the server?

 

Many Thanks






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users