Subject: | Ignore crontab lines consisting entirely of whitespace |
The load_crontab() method should probably ignore lines consisting entirely of whitespace, but it
isn't currently doing so. A line in the crontab file consisting entirely of whitespace causes a fatal
error:
Exactly 5 or 6 columns has to be specified for a crontab entry ! (not 0) at
/usr/lib/perl5/site_perl/5.8.8/Schedule/Cron.pm line 1091.
It looks like the intention may have been to handle it this way:
Schedule/Cron.pm:
448: next if /^$/;
449: next if /^$/;
Replacing the two above lines with this should fix it:
next if /^\s*$/;
Please let me know if you need any additional information from me.
Thanks!
-Bob