brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: wp cron event list shows when each wordpress scheduled task runs next

WordPress
~/tips/tip-wordpress-cron-event-list-schedule

wp cron event list

Shows every scheduled WordPress task with its next run time and repeat interval.

Before I run any stuck job I want to see what is scheduled, and when.

wp cron event list

By default the table lists every hook in the cron array with the time of its next run in UTC (next_run_gmt), the same as a relative time (next_run_relative), and how often it repeats. A hook whose next run lies far in the past suggests WP-Cron is not firing, which can happen on low traffic sites or when cron is disabled in the config. Add --fields=hook,args to see arguments, or combine the list with wp cron event run hook_name to start one job by hand.

Further reading: WP-CLI: wp cron event list

More WordPress tips wp user application-password create anna backup-script --porcelain define( 'MEDIA_TRASH', true ); wp cli check-update wp theme delete --all wp media image-size All WordPress tips (85) All topics

Link