in reply to parsing crontab output

Rather than handrolling this, you might be interested in a few CPAN modules. Search CPAN for "crontab" -- looks like lots of good stuff there.