X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2Fbin%2Ffreeside-daily;h=b6ee5188ef2a58b2e047aeceaa80808172c9ff57;hb=9b61510dcd5a7e30c0c1664df619bcff0aa50f08;hp=ac93aaf2f50c6ae70ac7f1de049e44b2bfbaff7d;hpb=a60615bf7bde77aa2b9faf3fc268c149eecdb5ab;p=freeside.git diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily index ac93aaf2f..b6ee5188e 100755 --- a/FS/bin/freeside-daily +++ b/FS/bin/freeside-daily @@ -77,6 +77,10 @@ unlink <${deldir}.CGItemp*>; use FS::Cron::backup qw(backup); backup(); +#except we'd rather not start cleanup jobs until the backup is done +use FS::Cron::cleanup qw(cleanup); +cleanup(); + $log->info('finish'); ### @@ -149,7 +153,7 @@ the bill and collect methods of a cust_main object. See L. -k: skip notify_flat_delay -user: From the mapsecrets file - see config.html from the base documentation +user: Typically "fs_daily" custnum: if one or more customer numbers are specified, only bills those customers. Otherwise, bills all customers.