Validating Crontab Entries w/ PHP

Posted by Wilco on Stack Overflow See other posts from Stack Overflow or by Wilco
Published on 2008-10-24T22:40:21Z Indexed on 2010/04/11 22:03 UTC
Read the original article Hit count: 234

Filed under:
|
|
|
|

What is the best way to validate a crontab entry with PHP? Should I be using a regex, or an external library? I've got a PHP script that adds/removes entries from a crontab file, but want to have some way to verify that the time interval portion is in a valid format.

© Stack Overflow or respective owner

Related posts about php

Related posts about cron