Are you running cron as the web user (eg www-data) it could be a file permissions problem.
> This may be COMPLETELY left field and no help at all, but it may provide > food for thought. I've got no idea how this Boost module works. > > > > I had a problem once where a command was running perfectly fine at the > command line, but not when specified inside crontab. It was running, but > not > doing its job properly. > > > > Turns out the command I was running was using a default configuration file > in the user's home folder, and this is why it was failing when run by cron > but working when executed at the command line. When I manually specified > the > path to the configuration file in the crontab line, it worked perfectly > fine. Perhaps something along these lines is holding up the removal of the > files? > > > > HTH. > > > > From: [email protected] [mailto:[email protected]] On Behalf > Of Paul Bennett > Sent: Monday, 24 August 2009 2:59 p.m. > To: [email protected] > Subject: [phpug] Re: Drupal > Boost > Removing expired pages > > > > Hi Chris, > > Pretty sure - I've had a look through the module and it has a cron hook > which removes files on disk using unlink(). > It's writing success messages to the system log, but from what I see it > only > seems to remove files when a user is logged in and cron is run manually. > This is odd, as there is no user id reference in the module (that I can > see). > > > Paul > > > > > > > --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
