Update Server Background Jobs Overview #
The DMSI Update Server extension adds its own background jobs to the DMSI-DDLS scheduling system.
What This Extension Adds #
Core DMSI-DDLS uses Action Scheduler (via WooCommerce) for background jobs including license expiration, email queues, and database cleanup. With DMSI Update Server, three additional WP-Cron jobs are added for update-server-specific tasks: email queue processing for version notifications, log cleanup, and the extension's own license validation.
Important: WP-Cron vs Action Scheduler #
Core DDLS uses Action Scheduler (a more robust system built on WooCommerce). The Update Server extension uses WordPress WP-Cron for its background jobs.
This distinction matters for troubleshooting:
- Core DDLS jobs appear in DDLS > Background Jobs
- Update Server jobs appear in the WP-Cron schedule (visible via a plugin like WP Crontrol, or by checking
wp_list_crons()in code)
If DISABLE_WP_CRON = true is set in your wp-config.php, Update Server background jobs will not run automatically. You must set up a real server cron that calls wp-cron.php at regular intervals.
The Three Update Server Jobs #
| Job Hook | Schedule | Purpose |
|---|---|---|
dmsilm_us_process_email_queue | Every 15 minutes | Process pending version notification emails |
dmsilm_us_cleanup_logs | Daily | Delete old update check, download, and email records |
dmsilm_us_license_daily_validation | Daily | Validate the extension's own license against dmsi.gr |
