Added a cron to run periodically. Also, increased timeout