How Cron Jobs Work
FlyingHost uses a managed system cron instead of WordPress's traffic-triggered cron. This makes scheduled tasks more reliable and keeps cron checks out of normal page requests.
How it works
FlyingHost sets:
define('DISABLE_WP_CRON', true);A system cron then calls wp-cron.php locally every five minutes.
Each run includes a random delay of up to 239 seconds to spread server load. A task therefore runs during the next cron window, not necessarily at an exact minute.
The cron request:
- Runs as the non-root wordpress user
- Runs locally inside the site's container
- Has a 120-second timeout
- Uses a PHP worker while it is running
Do not remove DISABLE_WP_CRON or add another external cron trigger. Duplicate triggers can increase PHP and database load.
What uses WordPress cron
Typical tasks include:
- Scheduled posts
- Plugin update checks
- Backups and security scans
- Email queues
- Cache cleanup or preload
- WooCommerce background processing
- Membership renewals and reminders
- Plugin-created scheduled events
View scheduled events
Open Web Terminal in Cockpit. It starts in:
/var/www/publicList scheduled events:
wp cron event listShow the most useful fields:
wp cron event list --fields=hook,next_run_gmt,next_run_relative,recurrenceRun all currently due events:
wp cron event run --due-nowRun one specific event:
wp cron event run your_hook_nameOnly run a specific hook when you know what it does. Payment, email, backup, and cleanup hooks can have side effects.
WooCommerce Scheduled Actions
WooCommerce and many extensions use Action Scheduler.
Go to WooCommerce → Status → Scheduled Actions to view pending or failed actions. A large backlog often points to a plugin error, slow external service, or more work than one cron run can complete.
Custom tasks
For WordPress-related work, register a WP-Cron event in a plugin or use a trusted scheduling plugin.
The Web Terminal does not provide root access, so you cannot edit the managed system cron or create services. Contact FlyingHost support if a task genuinely requires an operating-system cron.
Troubleshooting
If a task is late or failing:
- Confirm the hook exists with wp cron event list.
- Allow for the five-minute interval and randomized delay.
- Confirm the plugin that created the event is active.
- Check Cockpit and WordPress logs for PHP errors.
- Run the hook manually and review the output.
- Check WooCommerce Scheduled Actions for a backlog.
- Check PHP worker, CPU, and memory usage at the same time.
Jobs cannot run longer than 120 seconds in one request. Large imports, backups, scans, and syncs should process smaller batches and continue during later cron runs.
Updated on: 02/08/2026
Thank you!