Added support for running cron job