Cron cli error handling. Create dir when cli. [skip ci]