Configuring
Last updated on
27 August 2021
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
In order for Ultimate Cron to work properly, cron must be invoked every minute.
Normal (wget)
Example:
* * * * * /usr/local/bin/wget -O - -q -t 1 http://example.com/cron.php?cron_key=1234567890abcdef
Poorman
Each launcher plugin for Ultimate Cron can provide a poormans cron mechanism. The launchers Serial and Background Process (bundled with Ultimate Cron) each provide a poormans cron mechanism.
Poormans cron can be enabled at /admin/config/system/cron/settings/poorman.
Drush
* * * * * /usr/local/bin/drush cron-run --uri=http://example.com --root=/path/to/drupal
Note: Make sure not to use drush cron as you would do when not using Ultimate Cron.
Other drush commands
Enable or disable a cron job
drush cron-disable
drush cd
drush cron-enable
drush ce
Example of disabling the node_cron job:
drush cron-disable node_cron
Running a specific cron job
Example of running a specific cron job:
drush cron-run node_cron
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion