Author Topic: Email Reminders AGAIN!!!  (Read 2102 times)

Villie

  • Newbie
  • *
  • Posts: 7
    • View Profile
Email Reminders AGAIN!!!
« on: September 08, 2009, 02:11:57 am »
I must be a bit obtuse. Nobody else seems to be having issues with email reminders. I posted a while ago with this very problem but still haven't been able to resolve it.

I'm currently on 1.5.3 and my cron command is "php -q /home/.../public_html/.../cron.php". I've tested this command with a test.php and it works fine but the output from cron.php is "No output generated" - I'm not even getting '0 reminders sent'.

Could someone that has email reminders working please post
a) there cron command
b) the contents of their cron.php file

Even better, someone could hold my hand while they walk me through it.

el-chris

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Email Reminders AGAIN!!!
« Reply #1 on: September 08, 2009, 12:46:39 pm »
Hi Villie,

my cron reminders also don't work. I don't see popups and I also don't get E-Mail.
Since nobody has answered yet, I'll post my data. Maybe it helps both of us finding the solution. :)

OpenGoo version: 1.5.3

/etc/cron.d/opengoo_cron:
*\1 * * * *     www-data   [ -e /var/www/htdocs/cron.php ] && /usr/bin/php /var/www/htdocs/cron.php

Output of cron runs:
2009-09-08 15:37:01 - Sending reminders...
2009-09-08 15:37:01 - 0 reminders sent.

/var/log/syslog:
...
Sep  8 17:35:01 noo /USR/SBIN/CRON[11396]: (www-data) CMD (  [ -e /var/www/htdocs/cron.php ] && /usr/bin/php /var/www/htdocs/cron.php)
Sep  8 17:36:01 noo /USR/SBIN/CRON[14402]: (www-data) CMD (  [ -e /var/www/htdocs/cron.php ] && /usr/bin/php /var/www/htdocs/cron.php)
Sep  8 17:37:01 noo /USR/SBIN/CRON[17589]: (www-data) CMD (  [ -e /var/www/htdocs/cron.php ] && /usr/bin/php /var/www/htdocs/cron.php)
Sep  8 17:38:01 noo /USR/SBIN/CRON[20772]: (www-data) CMD (  [ -e /var/www/htdocs/cron.php ] && /usr/bin/php /var/www/htdocs/cron.php)
...

It seems that OpenGoo uses another timezone than I do. OpenGoo's time is always 2 hours earlier than my system time. I don't know whether this matters or not.

Regards

Chris
« Last Edit: September 08, 2009, 01:21:18 pm by el-chris »

Villie

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Email Reminders AGAIN!!!
« Reply #2 on: September 15, 2009, 11:01:46 am »
Thanks for your reply by the way Chris.

I still haven't had any luck with email reminders but I'm starting to think the problem lies with my how my hosting does cron jobs. I'm going to setup a different way of periodically executing the cron.php script and I'll post anything I think might be of use.

Vill