summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-12-29 01:40:51 +0000
committerivan <ivan>2009-12-29 01:40:51 +0000
commit6b358ff9f112b573981acf7b392f11d20431724f (patch)
treeb73638ed751441329b0b51a03ba03d7832d9fda0
parent50426a1493ea142877f16be8383453ce5ad09021 (diff)
don't skip vacuuming when using -k, RT#5258
-rwxr-xr-xFS/bin/freeside-daily10
1 files changed, 4 insertions, 6 deletions
diff --git a/FS/bin/freeside-daily b/FS/bin/freeside-daily
index cbcbc42fe..1876dc708 100755
--- a/FS/bin/freeside-daily
+++ b/FS/bin/freeside-daily
@@ -17,15 +17,13 @@ bill(%opt);
#what to do about the below when using -m? that is the question.
unless ( $opt{k} ) {
-
use FS::Cron::notify qw(notify_flat_delay);
notify_flat_delay(%opt);
-
- use FS::Cron::vacuum qw(vacuum);
- vacuum();
-
}
+use FS::Cron::vacuum qw(vacuum);
+vacuum();
+
#you can skip this just by not having the config
use FS::Cron::backup qw(backup_scp);
backup_scp();
@@ -93,7 +91,7 @@ the bill and collect methods of a cust_main object. See L<FS::cust_main>.
-r: Multi-process mode dry run option
- -k: skip notify_flat_delay and vacuum
+ -k: skip notify_flat_delay
user: From the mapsecrets file - see config.html from the base documentation