i think it would be great if poormancron allows for different cron intervals for different modules.

that is my feature request.

thank you!

Comments

greggles’s picture

Status: Active » Closed (duplicate)

that's out of scope for poormanscon in my opinion.

cron plus already does that.

http://drupal.org/project/cronplus

litwol’s picture

actually i think you might have misunderstood, or possibly i couldn't find the proper way to use cronplus.

but what i want is to be able to set up a custom cron interval for different modules on my site that require crons.

perhaps such as:
run cron on search module every 30 minutes.
run database backup every 6 horus (assuming this is a module)
run any other module cron every xxxx interval.

currently cronplus runs 1 cron that is very global, so if i run it then all cron job of all modules that require a cron will be executed. and i want to make sure that only a particular module will be included in the cron run if it is the appropriate time.

i hope i explained the problem well.

greggles’s picture

the change that you request would require a change to the way that drupal core calls hooks, so it's unlikely we can do anything about it here.

However, if cronplus becomes more popular then module developers can enable their modules to use it and allow the selection by an admin of which cronplus event to listen for. If that becomes popular then there will be a push to move cronplus into drupal core, but we need first

1) cron plus to be used by some modules
2) more and more modules using it
etc.

n) moving cron plus to core

hasmfb’s picture

Version: 5.x-1.1 » 6.x-1.0
Assigned: Unassigned » hasmfb