enriquepiatti / Magicento

PHPStorm plugin for Magento developers
115 stars 35 forks source link

Cron expr basic check #309

Open Schrank opened 4 years ago

Schrank commented 4 years ago

Hey! I had the problem today, that I accidentally added seconds to my cron expression: 0 38 23 * * * which is bad, because even if Magento ignores the last * (which I don't know) there is no 38th hour on the 23rd :D

So making sure it is only 5 parts and each in the correct range would be awesome :-)

(0-59) (0-23) (1-31) (1-12) (0-6)