Commit f953fbb7 authored by Martin Klimes (k11m1)'s avatar Martin Klimes (k11m1)
Browse files

fixed path

parent 6f66ba27
......@@ -290,10 +290,11 @@ sub check_cron {
chomp(my $answer = <STDIN>);
if ($answer eq 'Y' || $answer eq 'y' || $answer eq '') {
print "CRON SHALL BE INSTALLED\n";
print "[INFO] Installing cron.\n";
copy("cron.pl", "/etc/cron.weekly/fi_printers_cron.pl")
or die "Could not copy cron script\n";
chmod 0700, "/etc/cron.weekly/fi_printers_cron.pl"
chmod 0700, "/etc/cron.weekly/fi_printers_cron.pl";
print "[INFO] Cron installed\n";
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment