PDA

View Full Version : How to set Cron jobs (Scheduled Tasks) from each 1 hour to each 6 hours?


MyLibary
06-28-2012, 08:03 PM
Try to figure out how to solve this stupid problem.

Right now the "thread views" cron job is doing it every hour, i tried anyway to set it to every 6 hours but failed.

Any suggestions?

- - - Updated - - -

Here i have attached screenshot:

https://vborg.vbsupport.ru/external/2012/06/8.jpg



As you can see i have set it up to hour "6".
I expect to get the script update every 6 hours but it set it up to get updated at 6AM morning every day.

Waiting for your help.

kh99
06-28-2012, 08:14 PM
There is no way to specify that through that interface. If you really have to have something run every 6 hours you could add 3 more scheduled tasks that run the same script and set the hour for each to something like 0, 6, 12, and 18. ETA:.. but if you have a forum without much traffic (like 6 hours at a time with no visitors) you might find it causes a problem when it tries to catch up.

MyLibary
06-29-2012, 05:50 AM
My forum is pretty active, but what problem it may cause?

kh99
06-29-2012, 11:16 AM
I guess I was just thinking that it might slow things down if more than one was running at a time. But as long as your forum has a visitor every 6 hours you should be OK.

Now that I think of it, if traffic was that low you wouldn't get it running more than once at a time, so there really isn't a problem.