Fixed compatibility with "cron"