mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Handle fedora example line
This commit is contained in:
@@ -69,7 +69,7 @@ if ($config{'system_crontab'}) {
|
||||
&open_readfile(TAB, $config{'system_crontab'});
|
||||
while(<TAB>) {
|
||||
# Comment line in Fedora 13
|
||||
next if (/^#+\s+\*\s+\*\s+\*\s+\*\s+\*\s+command\s+to\s+be\s+executed/);
|
||||
next if (/^#+\s+\*\s+\*\s+\*\s+\*\s+\*\s+(user-name\s+)?command\s+to\s+be\s+executed/);
|
||||
|
||||
if (/^(#+)?[\s\&]*(-)?\s*([0-9\-\*\/,]+)\s+([0-9\-\*\/,]+)\s+([0-9\-\*\/,]+)\s+(([0-9\-\*\/]+|jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec|,)+)\s+(([0-9\-\*\/]+|sun|mon|tue|wed|thu|fri|sat|,)+)\s+(\S+)\s+(.*)/i) {
|
||||
# A normal h m s d w time
|
||||
|
||||
Reference in New Issue
Block a user