Adding a framework to run commands in cron