Title: Interval Setting?
Last modified: May 30, 2023

---

# Interval Setting?

 *  Resolved [loyukfai](https://wordpress.org/support/users/loyukfai/)
 * (@loyukfai)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/interval-setting/)
 * If I set interval to 60 minutes, then run the warmer manually once at 06:00AM,
   and it completes by 06:05AM, does it mean it will run again at 07:00AM? Or 07:
   05AM?
 * Thanks!

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

 *  Plugin Author [TMM Technology](https://wordpress.org/support/users/tmmtechnology/)
 * (@tmmtechnology)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/interval-setting/#post-16786127)
 * This is a good question!
 * It depends on when you saved the interval setting. Currently, the interval run
   time is completely separate from any other warm-up and is scheduled to run at
   the time you saved the interval setting. If you save the interval to 60 at 6:
   02, it will be scheduled to run at 7:02, 8:02 if no other warming is currently
   running (otherwise – skip; as the plugin can only run 1 warming at a time). So
   if the scheduled one overlaps with the one currently running, it will be skipped
   until there are no more warmings.
 * I think I will add a table so you can see more clearly at what time the next 
   interval run is scheduled and whether it was skipped or not, and maybe even a
   setting to move it. Because the current implementation of attaching the next 
   interval run to the time the setting was saved is very crude and non-transparent.
 * **P.S.** Your question made me look into the code of the plugin and I realized
   that the current interval functionality does not work properly. I will release
   the fix in ~1 hour. Please stay tuned and update the plugin on your sites when
   it arrives. Sorry for the inconvenience and let me know if you have any questions
   or suggestions.
 *  Thread Starter [loyukfai](https://wordpress.org/support/users/loyukfai/)
 * (@loyukfai)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/interval-setting/#post-16790524)
 * Thanks!!
 *  Thread Starter [loyukfai](https://wordpress.org/support/users/loyukfai/)
 * (@loyukfai)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/interval-setting/#post-16827508)
 * Not sure if it’s still relevant but this is what I get by setting the autorun
   interval at 1440 minutes (i.e. 24-hr)
 * > [View post on imgur.com](https://imgur.com/a/kPNBUWU)
 *  Plugin Author [TMM Technology](https://wordpress.org/support/users/tmmtechnology/)
 * (@tmmtechnology)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/interval-setting/#post-16839923)
 * [@loyukfai](https://wordpress.org/support/users/loyukfai/) yeap, 1440 minutes
   is 24 hours. It looks correct to me. A new warming starts every 24 hours, and
   therefore a new log entitiy for it is created.
   Or maybe you want me to clarify
   something for you? Feel free to ask, I will be happy to answer all your question.
 *  Thread Starter [loyukfai](https://wordpress.org/support/users/loyukfai/)
 * (@loyukfai)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/interval-setting/#post-16840313)
 * The start time seems to be drifting?
 * Anyhow, when the specify time to run setting is implemented ([Specify Time to Run? | WordPress.org](https://wordpress.org/support/topic/specify-time-to-run/)),
   this would be a null issue. 😊
 * Cheers.
 *  Plugin Author [TMM Technology](https://wordpress.org/support/users/tmmtechnology/)
 * (@tmmtechnology)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/interval-setting/#post-16861712)
 * [@loyukfai](https://wordpress.org/support/users/loyukfai/) 
   About time drifting:
   this is how Action Scheduler works, it has some kind of an enqueue to run tasks
   in the background, so the drifting is expected to happen. It actually will even
   happen with the scheduler run time you requested. The drifting is about 1h, based
   on the number of the tasks in the enqueue (if curious, you can see it on this
   page: /wp-admin/tools.php?page=action-scheduler&status=pending). And I have no
   control over it, unfortunately.The feature you requested solves another issue:
   transparency. If you request it to run every Monday at 12:00 then you can expect
   the warming to happen at about this time. I will work in this direction this 
   month, it’s a very useful feature. The first thing I want to do is to add transparency
   to the current interval logic, I think I will make a table with columns like:
   Scheduled to run at | Run at | Status (pending, completed, skipped (because another
   warm was running)) | Link to the logAnd I also want to add an option to shift
   the run time. Because currently it’s attached to the time you save the interval
   setting on, which is very opaque and inconvenient. Maybe that will even be enough
   to suit your use case (e.g. run warming every Monday at 12:00).But scheduling
   I suppose will be more about non-symmetric one-time runs. E.g. schedule on: Jul
   1 12:00, Jul 2 15:00, Jul 5 19:00I think this is not what you actually want, 
   but rather a transparent interval with the option to shift it will be a better
   option for your needs.
 *  Thread Starter [loyukfai](https://wordpress.org/support/users/loyukfai/)
 * (@loyukfai)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/interval-setting/#post-16862098)
 * Wow, very cool, thanks a lot!

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

The topic ‘Interval Setting?’ is closed to new replies.

 * ![](https://ps.w.org/cache-warmer/assets/icon.svg?rev=2869611)
 * [Cache Warmer](https://wordpress.org/plugins/cache-warmer/)
 * [Support Threads](https://wordpress.org/support/plugin/cache-warmer/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-warmer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-warmer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-warmer/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [loyukfai](https://wordpress.org/support/users/loyukfai/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/interval-setting/#post-16862098)
 * Status: resolved