Fixes to cron.py state

Fixing the case when the cmd for a cron job is updated but the changes don't reflect the change.  Per #14514