summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-04-06 22:01:05 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-04-13 18:11:21 -0500
commitaf8b1f302097a43229b59cdc2ab9782fbff28dc9 (patch)
tree8349f969f8febdc63bd4c808f3e5723ca80879e9 /FS/bin
parentecf01f1adf08cfbbb489d18c39a9626079112526 (diff)
RT#18834: Cacti integration [database storage]
Diffstat (limited to 'FS/bin')
-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 f04faea49..a79381326 100755
--- a/FS/bin/freeside-daily
+++ b/FS/bin/freeside-daily
@@ -74,6 +74,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*>;