summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-daily
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-04-06 22:01:05 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-04-06 22:01:05 -0500
commit9cfdddf49df7d5f47691ca467d9fbae51bfd71a0 (patch)
treecedc5524f5dfeeb026e51da1da6834db876d7938 /FS/bin/freeside-daily
parentfe529fcf74225297231dc3678594166720721205 (diff)
RT#18834: Cacti integration [database storage]
Diffstat (limited to 'FS/bin/freeside-daily')
-rwxr-xr-xFS/bin/freeside-daily5
1 files changed, 5 insertions, 0 deletions
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*>;