drush icon indicating copy to clipboard operation
drush copied to clipboard

Add cron:release command

Open DieterHolvoet opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. Releasing the cron system lock to run cron again.

Describe the solution you'd like The pretty much abandoned Drupal Console project has a cron:release command we could copy.

Describe alternatives you've considered /

Additional context The code for the Drupal Console command can be found here. The implementation seems very simple.

DieterHolvoet avatar Sep 16 '22 09:09 DieterHolvoet

I don't recall anyone ever asking for this. I'd like for a couple people to say "I have needed this" before we consider adding a new command.

weitzman avatar Sep 16 '22 12:09 weitzman

The use case for this command seems very narrow and workaround is trivial.

drush ev '\Drupal::service("lock")->release("cron");'

Chi-teck avatar Oct 09 '22 19:10 Chi-teck