fixed flush cron job