added path argument for cron