lucatacconi / crunz-ui

Natural graphical user interface for Crunz (Crunzphp/Crunz). Allows users to setup tasks natively written in PHP and schedule them configuringing date and time of start, intervals and conditions of init and execution.
MIT License
12 stars 0 forks source link

Bad contab time format cause internal server error #20

Closed alberto-ahl closed 1 year ago

alberto-ahl commented 2 years ago

Describe the bug Insert a bad crontab time format in a task causes an internal server error end block the executio of all task. The task with bad format is non more visible in the task list and you have to edit the script on the filesystem.

To Reproduce edit or create new task and insert a bad value for ->cron() example: ..... ->cron('20/30 ');

Expected behavior verify cron format compatibility before save.