Added set_cron, which allows for cron style task scheduling.