Skip to main content
added 31 characters in body
Source Link
Dave Ross
  • 858
  • 5
  • 11

You could use wp_schedule_event to schedule recurring tasks. The smallest precision it normally supports is "hourly" but you can use wp_get_schedules to create a custom "ten_minutes" interval.

Or, you could use wp_schedule_single_event to just trigger the event once and have yourthat scheduled task schedule the next event ten minutes later.

You could use wp_schedule_event to schedule recurring tasks. The smallest precision it normally supports is "hourly" but you can use wp_get_schedules to create a custom "ten_minutes" interval.

Or, you could use wp_schedule_single_event and have your scheduled task schedule the next event ten minutes later.

You could use wp_schedule_event to schedule recurring tasks. The smallest precision it normally supports is "hourly" but you can use wp_get_schedules to create a custom "ten_minutes" interval.

Or, you could use wp_schedule_single_event to just trigger the event once and have that scheduled task schedule the next event ten minutes later.

added 9 characters in body
Source Link
Pieter Goosen
  • 55.4k
  • 23
  • 115
  • 209

You could use wp_schedule_event (http://codex.wordpress.org/Function_Reference/wp_schedule_eventwp_schedule_event) to schedule recurring tasks. The smallest precision it normally supports is "hourly" but you can use wp_get_schedules (http://codex.wordpress.org/Function_Reference/wp_get_scheduleswp_get_schedules) to create a custom "ten_minutes" interval.

Or, you could use wp_schedule_single_event (http://codex.wordpress.org/Function_Reference/wp_schedule_single_eventwp_schedule_single_event) and have your scheduled task schedule the next event ten minutes later.

You could use wp_schedule_event (http://codex.wordpress.org/Function_Reference/wp_schedule_event) to schedule recurring tasks. The smallest precision it normally supports is "hourly" but you can use wp_get_schedules (http://codex.wordpress.org/Function_Reference/wp_get_schedules) to create a custom "ten_minutes" interval.

Or, you could use wp_schedule_single_event (http://codex.wordpress.org/Function_Reference/wp_schedule_single_event) and have your scheduled task schedule the next event ten minutes later.

You could use wp_schedule_event to schedule recurring tasks. The smallest precision it normally supports is "hourly" but you can use wp_get_schedules to create a custom "ten_minutes" interval.

Or, you could use wp_schedule_single_event and have your scheduled task schedule the next event ten minutes later.

Source Link
Dave Ross
  • 858
  • 5
  • 11

You could use wp_schedule_event (http://codex.wordpress.org/Function_Reference/wp_schedule_event) to schedule recurring tasks. The smallest precision it normally supports is "hourly" but you can use wp_get_schedules (http://codex.wordpress.org/Function_Reference/wp_get_schedules) to create a custom "ten_minutes" interval.

Or, you could use wp_schedule_single_event (http://codex.wordpress.org/Function_Reference/wp_schedule_single_event) and have your scheduled task schedule the next event ten minutes later.