get cron spec right