summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-daily
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-09-08 11:25:47 -0700
committerMark Wells <mark@freeside.biz>2016-09-08 11:25:47 -0700
commit4b75f33fd6c2d0fecf8714f588f2d6d200aa4d47 (patch)
tree9edc7d3801373d6202266b95c4f5194183e712b8 /FS/bin/freeside-daily
parent9a9f45c82bc7901cfa94b6e64a2e3e4d5b15abff (diff)
add email delivery of saved searches, #72101
Diffstat (limited to 'FS/bin/freeside-daily')
-rwxr-xr-xFS/bin/freeside-daily4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily
index 6a2daf934..03d235061 100755
--- a/FS/bin/freeside-daily
+++ b/FS/bin/freeside-daily
@@ -79,6 +79,10 @@ pay_batch_receive(%opt);
use FS::Cron::export_batch qw(export_batch_submit);
export_batch_submit(%opt);
+#does nothing unless there are users with subscribed searches
+use FS::Cron::send_subscribed qw(send_subscribed);
+send_subscribed(%opt);
+
#clears out cacti imports & deletes select database cache files
use FS::Cron::cleanup qw( cleanup cleanup_before_backup );
cleanup_before_backup();