Add ability to run agent via cron.