Update cluster_cron.pl

master
Mikael Nordin 8 years ago committed by GitHub
parent 6ff6d6da2e
commit e9a3f8e497

@ -19,8 +19,11 @@ my ($user, $shareddir, $mode, $spooldir) = @ARGV;
# Set some defaults if we didn't get them # Set some defaults if we didn't get them
unless ($mode == 0) { unless ($mode == 0) {
# mode 0 = active/passive, mode 1 = active/active # mode 0 = active/passive, mode 1 = active/active
print "Mode not set on command line, going to active/active\n"; print "Mode is active/active\n";
$mode = 1; $mode = 1;
} else {
print "Mode is active/passive\n";
} }
unless ($spooldir) { unless ($spooldir) {
$spooldir = "/var/spool/cron/crontabs"; $spooldir = "/var/spool/cron/crontabs";

Loading…
Cancel
Save