test template in cron