Cron jobs stop working after Drupal upgrade
Date Published: February 6, 2025
Issue
The cron jobs stopped running after doing a Drupal upgrade. The logs may show the message below:
[Symfony\Component\Console\Exception\RuntimeException]
The "-d" option does not exist.
Cause
The cause for this issue is because the command is using -dv flag for the cron jobs, which no longer works.
Resolution
The intention of the -dv flag was to run verbose debug logs. To achieve this with later versions of drush, use -vvv
According to
Drush's documentation:
- -v|vv|vvv, --verbose. Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug