jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

Prevent duplicate schedules for the same job #179

Closed jamesrwhite closed 8 years ago

jamesrwhite commented 8 years ago

Should be enforced by a constraint/validation.

jamesrwhite commented 8 years ago

Validation was already in place but the query was sometimes comparing '' to NULL for special schedules and thus failing to detect if the schedule already existed.