Hi hugblue71,
Are you aware that WP Cron is not accurate?
I mean will it be problem if task sheduled for 03:00 will be executed at 03:30 or so?
I know that.
But i am also running a server cron that executes the wordpress cron every 15 minutes.
I just need to know how to set it up so i can add schedules and then they will be fired by the server cron.
Ok great.
So you’ll have to count the amount of seconds for the next execution.
For example if now is 13:00 and you want to fire it at 20:00 you must add it with setting “Execute now + 25200 seconds”.
2520000 = 7 hours * 60 minutes * 60 seconds
And Once daily and Weekly shedules are already added within WordPress.
Unfortunately there is no other way to shedule it at exact time with this plugin. This time difference calculator should help.
So if i click the add task :
Then add to “execute now +” x Seconds (20:00). (The seconds from now is x seconds calculated to be at 20:00).
Then repeat/ once daily.
With this it will execute this cron everyday at 20:00 ?
Exactly.
Don’t forget the hook of course 🙂
And don’t worry if something will go wrong. You can always remove the task and add it again.
Lol. Of course.
Thanks a lot. You have been a big help.
I’m glad I could help!
Would you like to rate this plugin for me? It will be great! 🙂