web: fixed cron cleanup path location

This commit is contained in:
Bart Van Der Meerssche 2009-09-16 22:27:23 +00:00
parent 16fddf1880
commit 8b7a1ee2ea
1 changed files with 5 additions and 5 deletions

View File

@ -458,9 +458,9 @@ function _logger_admin_settings() {
* Cron will call this hook periodically [e.g. 1 hour interval] to perform housekeeping on the png's.
*/
function logger_cron() {
exec('rm sites/all/modules/custom/logger/graphs/hour/*');
exec('rm sites/all/modules/custom/logger/graphs/day/*');
exec('rm sites/all/modules/custom/logger/graphs/month/*');
exec('rm sites/all/modules/custom/logger/graphs/year/*');
exec('rm sites/all/modules/custom/logger/graphs/night/*');
exec('rm sites/all/modules/logger/graphs/hour/*');
exec('rm sites/all/modules/logger/graphs/day/*');
exec('rm sites/all/modules/logger/graphs/month/*');
exec('rm sites/all/modules/logger/graphs/year/*');
exec('rm sites/all/modules/logger/graphs/night/*');
}