diff options
| author | Justin DeVuyst <justin@devuyst.com> | 2017-03-20 16:17:56 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2017-07-13 08:23:08 -0400 |
| commit | a8395b86770797a4fbfcbb95b7f1b777af381a4b (patch) | |
| tree | b418eb3e5923fa906acf2ba139ba8f79438c2849 /FS/bin | |
| parent | 7bc20f13e95cb43e12e6a937d6940c82036cdf42 (diff) | |
Add configurable daily auto-disable for quotations. See RT#74665.
Diffstat (limited to 'FS/bin')
| -rwxr-xr-x | FS/bin/freeside-daily | 4 |
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(); |
