Title: Adding schedule
Last modified: August 24, 2016

---

# Adding schedule

 *  Resolved [hugblue71](https://wordpress.org/support/users/hugblue71/)
 * (@hugblue71)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/)
 * Hi :
 * In your plugin i can add a new schedule :
    interval(seconds), name and description.
 * To add a schedule like these then i need to understand what the seconds is based
   on.
 * And can you please give me an example to add these schedules : Thanks.
 * Schedule 1 : At 03:00 (Everyday).
    Schedule 2 : At 20:00 (Everyday). Schedule
   3 : At 20:00 (Every Saturday).
 * Hope you can help me.
 * [https://wordpress.org/plugins/advanced-cron-manager/](https://wordpress.org/plugins/advanced-cron-manager/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * (@kubitomakita)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/#post-6069349)
 * 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?
 *  Thread Starter [hugblue71](https://wordpress.org/support/users/hugblue71/)
 * (@hugblue71)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/#post-6069361)
 * 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.
 *  Plugin Author [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * (@kubitomakita)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/#post-6069363)
 * 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](http://www.grun1.com/utils/timeDiff.cfm) should
   help.
 *  Thread Starter [hugblue71](https://wordpress.org/support/users/hugblue71/)
 * (@hugblue71)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/#post-6069369)
 * 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 ?
 *  Plugin Author [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * (@kubitomakita)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/#post-6069370)
 * 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.
 *  Thread Starter [hugblue71](https://wordpress.org/support/users/hugblue71/)
 * (@hugblue71)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/#post-6069371)
 * Lol. Of course.
 * Thanks a lot. You have been a big help.
 *  Plugin Author [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * (@kubitomakita)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/#post-6069372)
 * I’m glad I could help!
 * Would you like to [rate this plugin](https://wordpress.org/support/view/plugin-reviews/advanced-cron-manager)
   for me? It will be great! 🙂

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Adding schedule’ is closed to new replies.

 * ![](https://ps.w.org/advanced-cron-manager/assets/icon.svg?rev=3096140)
 * [Advanced Cron Manager - debug & control](https://wordpress.org/plugins/advanced-cron-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-cron-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-cron-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-cron-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-cron-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-cron-manager/reviews/)

## Tags

 * [cron](https://wordpress.org/support/topic-tag/cron/)

 * 7 replies
 * 2 participants
 * Last reply from: [Kuba Mikita](https://wordpress.org/support/users/kubitomakita/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/adding-schedule-1/#post-6069372)
 * Status: resolved