Webcalendar reminders



I have the following in my cron

*/30 * * * * cd /home/username/directoryname/calendar/tools; ./send_reminders.php

If I type the above at the command line all is fine.

when the cron job runs I get this:

/bin/sh: line 1: ./send_reminders.php: No such file or directory



You should try putting this in your cron (instead of your current command):

/usr/bin/php /home/username/directoryname/calendar/tools/send_reminders.php


sorry that should be:

/usr/local/bin/php /home/username/directoryname/calendar/tools/send_reminders.php

Or replace the path to php if you have a custom php installed.