add cron tasks to the metrics instance