this-> ViewCronJob

(Caronte Pcode version 2.0)

Description

int this->ViewCronJob(HashArray store,optional string search default null,optional int col default 0);

Loads a view of the cron tab jobs in the store HashArray. Can looks for the search value, in the column col of the database.

The function return 1 if success, 0 if not.

Example.

Source:

#import( class , HashArray )

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

HashArray indexkey = new HashArray();
this->ViewCronJob(indexkey);

for (int i = 0; i < indexkey->GetRecordCount(); i++)
{

this->Print(indexkey->GetByIndexS(i));

}

delete indexkey;

return 0;

}


Out:

PHISHINGDBUPDATE