summaryrefslogtreecommitdiff
path: root/FS/bin
diff options
context:
space:
mode:
authorJustin DeVuyst <justin@devuyst.com>2017-03-20 16:17:56 -0400
committerChristopher Burger <burgerc@freeside.biz>2017-07-13 08:23:08 -0400
commita8395b86770797a4fbfcbb95b7f1b777af381a4b (patch)
treeb418eb3e5923fa906acf2ba139ba8f79438c2849 /FS/bin
parent7bc20f13e95cb43e12e6a937d6940c82036cdf42 (diff)
Add configurable daily auto-disable for quotations. See RT#74665.
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 233e1626e..e0c555f7b 100755
--- a/FS/bin/freeside-daily
+++ b/FS/bin/freeside-daily
@@ -91,6 +91,10 @@ export_batch_submit(%opt);
use FS::Cron::send_subscribed qw(send_subscribed);
send_subscribed(%opt);
+#does nothing unless quotation_disable_after_days is set.
+use FS::Cron::disable_quotation qw(disable_quotation);
+disable_quotation();
+
#clears out cacti imports & deletes select database cache files
use FS::Cron::cleanup qw( cleanup cleanup_before_backup );
cleanup_before_backup();