Changed cron to accept warning and critical parameters