change cron to exec, fix non-aws case