set_time_limit() enabled check

Updating scheduler to check the disable_functions setting to see if set_time_limit() is available