fix to remove cron file when changing runmode
Merge pull request #51 from triplevia/cron

fix to remove cron file when changing runmode