change the version dependency of cron to be flexible

Fixed #5