diff options
author | Mark Wells <mark@freeside.biz> | 2012-06-30 16:37:06 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-06-30 16:37:06 -0700 |
commit | 92aedddd3684167abb60cd3f1d77bbc156c592e6 (patch) | |
tree | f061fdd9dd2434ad6f490f01d682496b46a925d5 /FS/bin/freeside-daily | |
parent | e5fd495945bc0b907cf0d4d21d52bb6b12e7051a (diff) |
Business::BatchPayment interface, #17373
Diffstat (limited to 'FS/bin/freeside-daily')
-rwxr-xr-x | FS/bin/freeside-daily | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index b73d0b112..2b33d1671 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -65,6 +65,11 @@ backup(); use FS::Cron::rt_tasks qw(rt_daily); rt_daily(%opt); +#does nothing unless batch-gateway-* configs are set +use FS::Cron::pay_batch qw(batch_submit batch_receive); +batch_submit(%opt); +batch_receive(%opt); + my $deldir = "$FS::UID::cache_dir/cache.$FS::UID::datasrc/"; unlink <${deldir}.invoice*>; unlink <${deldir}.letter*>; |