X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-daily;fp=FS%2Fbin%2Ffreeside-daily;h=b6ee5188ef2a58b2e047aeceaa80808172c9ff57;hb=e6210bad824b2efc0a2d54abe8fc79093e7cc5ed;hp=0e43276adad136c0047ecdca772e02bcc3c21f25;hpb=2d2fad4dc5654636abf690e0980b851540f64a5b;p=freeside.git diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index 0e43276ad..b6ee5188e 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -77,6 +77,10 @@ unlink <${deldir}.CGItemp*>; use FS::Cron::backup qw(backup); backup(); +#except we'd rather not start cleanup jobs until the backup is done +use FS::Cron::cleanup qw(cleanup); +cleanup(); + $log->info('finish'); ###