
Originally Posted by
rob_sugarcrm
Hi Guys,
Sorry if this is an obvious one, i am a newbie with PHP / Sugar.
Im trying to get email running into a customers SugarCRM.
Almost there now, i think, all the accounts are in and the tests all pass. We are using IMAP and we can select the folders to get mail from, so i assume that means all the authentication is at least correct.
What is troubling me is the cron job.
I have a bat file written to call the php-cgi.exe from our php install, and the php.ini file from our WAMP install.
I am pointing to the full path of our cron.php file.
the output from a command line reads:
PHP Notice: Undefined variable: timestamp in cron.php on line 95
What do we need to do, to define the variable correctly?
Line 95 looks like this:
if($timestamp[0] < strtotime(date('H:i'))) {
Any help you can offer would be great, cheers.
Bookmarks