Author Topic: Cron and Reminder issues  (Read 8217 times)

shmuelios

  • Freshman
  • *
  • Posts: 19
    • View Profile
Cron and Reminder issues
« on: February 18, 2009, 11:56:58 am »
on Dreamhost navigating to /cron.php in the browser works fine and completes the jobs but Upon settings up the cron job for the server to a I get a:
----------
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/.server/user/goo.domain.com/cron.php on line 17
----------
cron.php #17
->   $errordate = DateTimeValueLib::now()->add("m", 30);
----------

also on notifications that do come through the subject is like this in the email.

"Shmuelios - <span style="font-weight: bolder; color: red;">Missing lang: due task</span>"

Cheers,

Sam

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Cron and Reminder issues
« Reply #1 on: February 18, 2009, 05:09:27 pm »
Seems that you are running the cron.php with a different version of PHP. than the one used by the web server.