Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Mar 2011 at 22:22 UTC
Updated:
24 Mar 2011 at 20:11 UTC
Every time cron runs there is a notice that "files/ctools/css was not deleted, because it does not exist"
(according to http://drupal.org/node/978008) it looks like ctools_flush_caches tries to avoid running if called by cron, but it's somehow not working.
One question I have is whether there is such a variable as "cron_semaphore" -- when I review the code for drupal_cron_run I see the use of lock_acquire (semaphores in the database) not a cron_semaphore variable. I've noticed various pieces of code check that variable, and even delete it, but I can't find a piece of code that would set.
Comments
Comment #1
merlinofchaos commentedThe cron semaphore was used in Drupal 6 to prevent multiple cron runs. This may have changed in D7 and was not updated.
Will have to look into that error. It should probably just suppress error messages if the file doesn't exit.
Comment #2
merlinofchaos commentedYeah, they changed the semaphore to something else. Figured it out, committed and pushed a fix.