diff --git a/cron/cron-lib.pl b/cron/cron-lib.pl index daafd48af..71bf389d8 100755 --- a/cron/cron-lib.pl +++ b/cron/cron-lib.pl @@ -69,7 +69,7 @@ if ($config{'system_crontab'}) { &open_readfile(TAB, $config{'system_crontab'}); while() { # 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