[imp] reminder.php messages every 5 minutes cron

Gary Smith gary.smith at holdstead.com
Tue Oct 20 18:57:41 UTC 2009


Please email list, not me directly.

> Cordial Saludo.
> Thanks for your answers and excuse me for my bad enghish.

No worries.

> My operating system are REDHAT ES4
> My crond is crontabs-1.10-7
> 
> My cron is:
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/php /var/www/html/horde/kronolith/scripts/reminders.php

Here is the problem.  When run is run, output to STDOUT and STDERR is sent to email.  So, stop sending STDOUT.  Redirect STDOUT to to /dev/null (still keeping STDERR as you want that)

Ex. /var/www/html/horde/kronolith/scripts/reminders.php > /dev/null

Also, 

Don't do 0,5,10,etc for time interval do this (0/5 meaning every 5 min):

0/5 * * * * /usr/bin/php /var/www/html/horde/kronolith/scripts/reminders.php > /dev/null

Hope that helps.


More information about the imp mailing list