CleanRemote.php 460 Bytes
<?php

/**
*  @file CleanRemote.php
*  @brief DD Server Tools: 
*/
	if (!function_exists('__autoload')) 
	{
		function __autoload($class_name) {
				require_once $class_name . '.php';
		}
	}
   
	putenv("LD_LIBRARY_PATH=".getenv("LD_LIBRARY_PATH"));
	putenv("PATH=./:".getenv("DDBASEBIN").":/bin:/usr/bin");
	set_include_path("./:".getenv("DATAMANAGER")); 

   $baseMgr = new DDBaseMgr();
   $baseMgr->cleanRemote("NODATA");
 //  $baseMgr->cleanRemote(10);
?>