Fix a cron bug set wrong status