Delete cron task

				
					StructOperationResponse WebHostingCronTaskDelete(string $IDsession, string $id, string $idCronTask)
				
			

Delete a cron task.

REQUIRED

  • idSession string (32)
    Session ID.
  • id string
    Hosting ID.
  • idCronTask string
    Cron task ID.

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{
 
    $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
    $clientSOAP->WebHostingCronTaskDelete($idSession, "NW1024", "201"); 
}
catch(SoapFault $fault) 
{
    echo "Exception : " .$fault->getMessage(). "\n"; 
}
 
if (isset($idSession)) 
{
    $clientSOAP->sessionClose($idSession); 
}