[Vtigercrm-developers] Example of VT6 style cron.service?

Alan Lord alanslists at gmail.com
Wed Apr 23 12:04:53 GMT 2014


On 23/04/14 12:42, Stencel, Maciej wrote:

> Try to paste in the top of Your script this:
>
>         require_once('includes/main/WebUI.php');

Thanks - For the time being that seems to have worked. Funny, I thought 
Loader.php would have been the core file to include rather than "WebUI". 
This is a scheduled script so there should be no need for any of the UI 
code at all...

>         $user = new Users();
>         $current_user = $user->retrieveCurrentUserInfoFromFile( "1" );

I did try this bit before but it was the WebUI.php that I was missing.

Cheers

Al



More information about the vtigercrm-developers mailing list