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

merlinofchaos’s picture

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

merlinofchaos’s picture

Status: Active » Fixed

Yeah, they changed the semaphore to something else. Figured it out, committed and pushed a fix.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.