Any chance of getting drush support for this module?

Comments

Manonline’s picture

Status: Active » Needs review
StatusFileSize
new2.05 KB

This file add the drush support. It need work, but marking as need review.

Usage:
- drush supercron [modules]
- drush supercron all

thekenshow’s picture

Category: support » bug

Testing on D6.16 and drush 3.3, 'drush supercron --help' returns the help text but trying to run any or all modules (e.g., 'drush supercron system') return "Drush command could not be completed" (The Last Called entry on the Settings page confirms that hook_cron has not been run for the module).

rcross’s picture

Status: Needs review » Needs work
eojthebrave’s picture

Status: Needs work » Needs review
StatusFileSize
new2.6 KB

Cleaned up the code, removed all references to node_export module, added some additional comments, and fixed things so it will work with 2.x-dev version of the module.

I also modified the callback function a bit so that if you do NOT specify either the name(s) of a module whose hook_cron() implementation you want to run, or the keyword 'all', drush will present you with a list of enabled modules to choose from. Much like typing `drush clear-cache` with no arguments.

pillarsdotnet’s picture

cor3huis’s picture

Status: Needs review » Reviewed & tested by the community

Could not life test due to other issue, but reading through, it looks fine.

IMHO It is best to have a feature freeze for SuperCron v2.x now otherwise a v2.x will never see the light of day.

Then also we can start a port to Drupal 7...

pillarsdotnet’s picture

Status: Reviewed & tested by the community » Needs review

It's not RTBC until it's tested. That's the "T" in "RTBC".

cor3huis’s picture

True, thanks, I was to enthusiastic. However other critical issues make it impossible to test at the moment.

pillarsdotnet’s picture

StatusFileSize
new10.37 KB

Here's a combined patch for all critical issues. Now you can test.

bcmiller0’s picture

+1

pillarsdotnet’s picture

Status: Needs review » Closed (won't fix)

Module appears abandoned.

jdwfly’s picture

Status: Closed (won't fix) » Needs review

Lets not close issues just because the module appears abandoned. You never know when the maintainer will pick up development again, and from what I have read it seems as though they are starting back up. It may be worth a shot emailing the developer to see if they would review your patch. I've done that many times and sometimes they even gave me commit access.

pillarsdotnet’s picture

Sorry; I'm no longer using D6 on any of my sites, and I've moved to Elysia Cron for my D7 sites, so I'm okay with the module and patch being abandoned.