I'm not happy with the way I've set up my cron jobs for Boonex Dolphin. Some things are working including bulk mail, but others are not. Dolphin creates sessions which the cron job is meant to clear on a daily basis, but this is not happening.
During the install process, Dolphin asks for the following cron job to be created:
/usr/local/bin/php -q /home/mysite/public_html/periodic/cron.php
I'm not sure how important the -q (quiet) bit is, but the path to PHP has me confused and I'm not sure if I even need it.
During a typical Dolphin install, it attempts to find the PHP binary using the path /usr/local/bin/php. Sometimes it says PHP is found and sometimes it says it isn't. I'm assuming PHP is actually located at /etc/php5/apache2/ and I've tried both paths. In each instance the sessions aren't being cleared and possibly other things probably aren't working properly either.
Can someone help me create a working new_cron.php which is installed correctly in the public_html/periodic folder.
Here's what I've tried:
<?php
include ('/usr/bin/php -q cron.php');
?>
and
<?php
include ('/etc/php5/apache2/php -q cron.php');
?>
and
<?php
include ('-q cron.php');
?>
Thank You
During the install process, Dolphin asks for the following cron job to be created:
/usr/local/bin/php -q /home/mysite/public_html/periodic/cron.php
I'm not sure how important the -q (quiet) bit is, but the path to PHP has me confused and I'm not sure if I even need it.
During a typical Dolphin install, it attempts to find the PHP binary using the path /usr/local/bin/php. Sometimes it says PHP is found and sometimes it says it isn't. I'm assuming PHP is actually located at /etc/php5/apache2/ and I've tried both paths. In each instance the sessions aren't being cleared and possibly other things probably aren't working properly either.
Can someone help me create a working new_cron.php which is installed correctly in the public_html/periodic folder.
Here's what I've tried:
<?php
include ('/usr/bin/php -q cron.php');
?>
and
<?php
include ('/etc/php5/apache2/php -q cron.php');
?>
and
<?php
include ('-q cron.php');
?>
Thank You