summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-09-08 11:30:58 -0700
committerMark Wells <mark@freeside.biz>2016-09-08 11:30:58 -0700
commit4496a23e58b830db4c2d10ad17dfb0d531b15859 (patch)
treece7a9d73cbdb1df75726a33b407ddbd5fdbda961 /FS/bin
parentf8586b58f8913b133809556958b49a083454a962 (diff)
add email delivery of saved searches, #72101
Diffstat (limited to 'FS/bin')
-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 1162e7911..4d432ef06 100755
--- a/FS/bin/freeside-daily
+++ b/FS/bin/freeside-daily
@@ -74,6 +74,10 @@ export_batch_submit(%opt);
use FS::Cron::agent_email qw(agent_email);
agent_email(%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();