add setEnpoint to all cron files