Closed (fixed)
Project:
Elysia Cron
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 Feb 2009 at 21:55 UTC
Updated:
30 Jun 2011 at 22:30 UTC
Elysia deletes the variable 'cron_semaphore' and it shouldn't. This is used by at least two other modules (FeedAPI, in feedapi.module, and ipaper, in ipaper.module). Due to elysia_cron deleting the semaphore, FeedAPI's cron job never runs and iPaper doesn't return the right content.
Modules have a legitimate expectation that 'cron_semaphore' will not be messed with by anyone but core, and that this will always be set during any cron operation, whether kicked off by Drupal cron or Elysia cron, and if anything that its absence implies that the cron operation should cease immediately.
Comments
Comment #1
gotheric commentedYou're right. Moving the deletion of cron_semaphore AFTER elysia cron process should solve the problem.
Commited the solution in CVS, i'll release a new version of elysia cron soon (with a D6 version too).
Thx
Comment #3
allanp commentedIs there a way to confirm that cron_semaphore is actually deleted on a windoes box?
I'm using version 6.x-1.2