[cvs] [Wiki] changed: KronolithReminders

Wiki Guest wiki at wiki.horde.org
Mon Sep 26 15:57:25 PDT 2005


guest [199.74.222.73]  Mon, 26 Sep 2005 15:57:25 -0700

Modified page: http://wiki.horde.org/KronolithReminders
New Revision:  2.4
Change log:  Using CGI version does work but is not recommened

@@ -5,9 +5,10 @@
 <code>
 php /var/www/horde/kronolith/scripts/reminders.php
 </code>
 
-**Note**: Your {{php}} executable must be the CLI version, it will NOT work with the CGI version. Do {{php -v}} to verify that you have the CLI version.
+**Note**: Your {{php}} executable should be the CLI version, it might not work with the CGI version. Do {{php -v}} to verify that you have the CLI version. 
+Using the CGI version will output http header information but does appear to work. You will want to add "> /dev/null" to the crontab entry which also means that you will miss any errors so using the CLI version is recommended.
 
 If this works (you will get an email), you have to create a cronjob to call the reminders script regularly. In this example, it is called every five minutes. So edit your crontab:
 <code>
 crontab -e
@@ -16,7 +17,7 @@
 and enter the following (replace {{/var/www/horde}} with the path to your Horde installation and {{/usr/bin/php}} with the path to your PHP CLI binary):
 
 <code>
 # Kronolith reminders
-*/5 * * * * /usr/bin/php /var/www/horde/kronolith/scripts/reminders.php
+*/5 * * * * /usr/bin/php /var/www/horde/kronolith/scripts/reminders.php 
 </code>
 


More information about the cvs mailing list