Closed (fixed)
Project:
Scheduler
Version:
5.x-1.4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 May 2007 at 18:34 UTC
Updated:
11 Aug 2007 at 13:47 UTC
I've setup a site that uses Drupal 5x without any problems.
After I added the scheduler module everything works fine except from that the module for some reason, doesn't manage to get the node (story) published on the date/time I set. Even if I try to force the "Published" option on, it automatically gets deactivated...
Comments
Comment #1
NeoID commentedAfter I ran cron the story got published. Is the scheduler really dependent on cron? If that is the case how often should I let cron run in order to get the stories published on the time I've set?
Comment #2
AjK commentedHow else can Drupal schedule anything other than by cron?
So, yes. However, that gives you a problem if say, cron runs once an hour every our. If you set a publish time of say "10:23" than it won't really get published until, for example, 11:00.
In order to get 1 minute resolution you'd need to run cron every minute. However, that maybe a problem since calling cron calls all module cron functions which, for some sites, maybe too much of a "hit".
The solution to this problem is that the Scheduler module (latest version) exports it's own cron URL in addition to the standard cron system. So, you can continue to call Drupal's cron URL hourly but then you can set-up a seperate cron, minutely, and call shedulers own "light weight" cron URL.
See http://drupal.org/node/137389 for more details.
Comment #3
(not verified) commentedComment #4
varkenshand commented"How else can Drupal schedule anything other than by cron?"
Somehow I find this a rather dismissive remark. I had the same problem and could not figure out why Scheduler did not work. Wrecked an install in the process by the way but that is another story.
The word 'cron' is nowhere to be found in the 1.4 readme.txt. So how should one be aware that a cron task or activity is needed for Scheduler to work? Line 1 in the manual shoudl make this clear. This has nothing to do with people 'complaining and not willing to contribute'; it's a matter of common sense, decency and respect for people who are willing to learn but not programmers.