Cron API

WP-Cron is used for scheduling tasks in WordPress and is triggered on page load. Unlike system cron, it doesn’t keep running continuously and it executes the task even if the time for it has passed. You can learn more about WP-Cron from the below resources –

Explore the videos for insights and tutorials on Cron API. This section comprises 5 modules with a combined duration of 55 minutes.

Video ContentTime
Overview09:17
Scheduling Events & Working of wp_event-schedule10:10
More on Scheduling & Unscheduling/Deleting Cron08:00
Deep dive into the working of Cron API Pt 107:32
Deep dive into the working of Cron API Pt 205:49

Ideas to Explore:

  • How does wp-cron work?
  • WordPress uses false cron. How can I transfer this to real cron using crontab?