Merge pull request #50 from triplevia/openbsd

fix comparison operator for OpenBSD
Merge pull request #51 from triplevia/cron

fix to remove cron file when changing runmode