Suffering with Cron job error

Tried the script given during installation,,, gave two errors,,

MAILTO=myemail@gmail.com
* * * * * cd /home/username/public_html/periodic; /usr/local/bin/php -q cron.php


Then tried these other method,,

MAILTO=myemail * * * * * /usr/local/bin/php -q /home/sitedir/public_html/periodic/cron.php
and 
MAILTO=myemail * * * * * /usr/bin/php -q /home/sitedir/public_html/periodic/cron.php

then now getting just this error /bin/sh: access-logs: command not found

even put the path to my blank php.ini, like below but still didnt solve the issue 

MAILTO=myemail * * * * * /usr/bin/php -c /home/sitedir/public_html/php.ini -q /home/sitedir/public_html/periodic/cron.php

Any thoughts on why isnt it still working... ?

Quote · 20 Nov 2012

Any one ????????

Quote · 21 Nov 2012

you are trying to add this to php.ini?

http://www.boonex.com/market/posts/paansystems - your resource for Dolphin Pro
Quote · 21 Nov 2012

Question are you putting

MAILTO=myemail * * * * * /usr/local/bin/php -q /home/sitedir/public_html/periodic/cron.php

into cron command line ?

Quote · 21 Nov 2012

I am putting the script in cpanel>>cron jobs>> in the "command" box. thats where it the script should go right? 

Quote · 22 Nov 2012

This portion goes into command line /usr/bin/php -q /home/sitedir/public_html/periodic/cron.php

The * * * * * * go separately into minute, hour, day of month, month, day of week,

And your email goes into the Scheduler notification so you get the results or errors sent to you

Saying that i am not using cpanel

Quote · 22 Nov 2012

Ok good, the error is gone now..

 

BTW the site functions properly with out  setting up this particular crone job,, then whats the purpose of setting up this cron job?

Quote · 23 Nov 2012

to process videos, send mass mails and other tasks in sys_cron_jobs table.

so much to do....
Quote · 23 Nov 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.