Project:CronPlus
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:syscrusher
Status:needs review

Issue Summary

This is a really great module. The only issue I've found is in testing. It's hard to get my hooks to fire at their various intervals without setting my system clock so I was thinking it would be nice to have a "testing" checkbox in the configuration section so that when checked, all hook implementations fire every time cron.php is run. Currently, I have to run "delete from variable where name like '%cron%'" to get it to run. Just a thought..

Comments

#1

Assigned to:Anonymous» syscrusher

That's a wonderful suggestion, and very easy to implement. I'll try go get this into the code soon.

Scott

#2

BTW, thanks for the kind words about the module, and for the test report.

#3

Sounds great. Looking forward to it.

#4

I have just added this feature and committed a development release, pending beta testing.

I'm working with some new developer tools at my end, and I think I did everything right for the commit, but please be patient if not. I can't check the new release until drupal.org's next batch run.

#5

Version:6.x-1.0-beta4» 6.x-1.x-dev

#6

Hi syscrusher,

I can't see this functionality in any release avaliable on Drupal.org - a testing facility to trigger any of the registered crong functions would be great to have!

Kind regards,
Shannon

#7

I also had a need to run cronplus on demand. Since I'm not very good with PHP this is probably not the best way to do it but it works for what I needed it to do. I simply added an on demand call and then added that call in the module I needed it for.

Great work on the cronplus module. I don't know how to make a patch yet but I figured I would go ahead and post my file incase anyone else is interested in this ability.

AttachmentSize
cronplus.module.txt 12.8 KB

#8

Status:active» needs review

Added an on demand option for testing cronplus along with some other minor tweaks including the capitalization of the menu items.

AttachmentSize
cronplus-add-on-demand-363809-8.patch 11.28 KB
nobody click here