$mjd or max_jobs_per_day<0"); do_query("update host_app_version set consecutive_valid=0 where consecutive_valid<0 or consecutive_valid>1000"); ?>