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

NeoID’s picture

After 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?

AjK’s picture

Status: Active » Fixed

Is the scheduler really dependent on cron?

How 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)
varkenshand’s picture

"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.