X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2Fbin%2Ffreeside-daily;h=bf9f17728a6e84fac2b5d16a7baa50bccd362bca;hb=9cfdddf49df7d5f47691ca467d9fbae51bfd71a0;hp=af48ec0cbcd3ce9a8ed83d7075c8a3d3838bed15;hpb=fe529fcf74225297231dc3678594166720721205;p=freeside.git diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index af48ec0cb..bf9f17728 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -83,6 +83,11 @@ export_batch_submit(%opt); use FS::Cron::agent_email qw(agent_email); agent_email(%opt); +#does nothing unless there are cacti imports +#should run before backup, no need to backup cacti imports +use FS::Cron::cacti_cleanup qw(cacti_cleanup); +cacti_cleanup(); + my $deldir = "$FS::UID::cache_dir/cache.$FS::UID::datasrc/"; unlink <${deldir}.invoice*>; unlink <${deldir}.letter*>;