I'd like to see the ability to enable & disable multiple cron jobs in one Drush command.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chris Charlton created an issue. See original summary.

Chris Charlton’s picture

Status: Active » Needs review
FileSize
5.46 KB

Patch here provides the ability to enable & disable cron jobs in bulk. The following changes are included in the patch:

  • Enable/Disable multiple cron job tasks in one command
  • Better checks if a cron task/name does not exist
  • Summary report at the end, showing how many cron job tasks were modified or not
  • Expanded the command's help example to show how to pass in multiple cron job names

NOTE: I created a single method that can enable & disable multiple cron tasks, and updated the former enable/disable Drush commands to use that new singular method.

Chris Charlton’s picture

Bump.

arnested’s picture

Hi Chris Charlton,

I think the idea is good. I keep running into not finding the time to do a proper review. Sorry for that.

I think I have been silently hoping for someone else coming by to RTBC.

I'll do release tonight that will be without this change. But now I'm putting in writing here that I'll promise to find time for a proper review soon (everybody else: you are still welcome to beat me to it).