2004-02-04 22:26:45 +00:00
|
|
|
<?php
|
2008-08-05 22:43:14 +00:00
|
|
|
// This file is part of BOINC.
|
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2008 University of California
|
|
|
|
//
|
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2004-02-04 22:26:45 +00:00
|
|
|
|
2005-02-08 04:38:31 +00:00
|
|
|
require_once("../inc/util_ops.inc");
|
2004-02-04 22:26:45 +00:00
|
|
|
|
2014-10-09 16:29:05 +00:00
|
|
|
$hostid = get_int("hostid");
|
2004-02-04 22:26:45 +00:00
|
|
|
|
2014-10-09 16:29:05 +00:00
|
|
|
$host = BoincHost::lookup_id($hostid);
|
|
|
|
if (!$host) {
|
2014-10-29 19:25:35 +00:00
|
|
|
admin_error_page("no such host\n");
|
2004-02-04 22:26:45 +00:00
|
|
|
}
|
|
|
|
|
2014-10-09 16:29:05 +00:00
|
|
|
$host->update("rpc_time=0");
|
2010-02-26 21:34:20 +00:00
|
|
|
echo "Host RPC time cleared for host ID: $hostid\n";
|
2004-02-04 22:26:45 +00:00
|
|
|
|
2005-02-08 04:38:31 +00:00
|
|
|
admin_page_tail();
|
2008-08-05 22:43:14 +00:00
|
|
|
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
|
2004-02-04 22:26:45 +00:00
|
|
|
?>
|