[Vtigercrm-developers] vtlib Vtiger_Cron

Alan Lord alanslists at gmail.com
Fri Jan 4 08:55:08 PST 2013


Hi all,

I think I'd like to register a new cron Task for a custom module I'm 
working on.

I tried using the API in vtlib/Vtiger/Cron.php but the constructor is 
protected so I don't think I can really instantiate a new class in the 
same way as we do a module or a field.

Is there a reason why this has been done?

Of course I can write my cron task details straight into the database, 
but I was just interested why this was protected and not useful in the 
same way as the rest of the vtlib APIs.

Cheers and Happy New Year

Al



More information about the vtigercrm-developers mailing list