add nightly optimize cron job