Closed (duplicate)
Project:
Poormanscron
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Reporter:
Created:
10 Apr 2007 at 05:13 UTC
Updated:
30 Jun 2009 at 07:47 UTC
i think it would be great if poormancron allows for different cron intervals for different modules.
that is my feature request.
thank you!
Comments
Comment #1
gregglesthat's out of scope for poormanscon in my opinion.
cron plus already does that.
http://drupal.org/project/cronplus
Comment #2
litwol commentedactually 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.
Comment #3
gregglesthe 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
Comment #4
hasmfb commented