Adjusted to use template for cron execution file