refactored the cron driver and added send_message to thing