[cron] fixed #338