add a delete method to the cron service