diff options
author | Justin DeVuyst <justin@devuyst.com> | 2017-03-20 16:17:56 -0400 |
---|---|---|
committer | Justin DeVuyst <justin@devuyst.com> | 2017-03-20 16:17:56 -0400 |
commit | 247a72232486b809bd0f0d88f3506dc0a1e79d93 (patch) | |
tree | d6e8d52ed38d6ccac980118599abf1d0168e34d2 /FS/bin | |
parent | b285918ec3ab6c8203e9f8feaf234da306456e5e (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 b12f90b23..67c4860d5 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(); |