clone the code to script, and update the cron in test