cronjob doens't work

horeca

New member
Joined
Jul 5, 2005
Messages
1
hi all,

I have worked before with cronjobs but now im using DA...
it's a little bit new for me so i need your help.

I searched this forum... i tried all commands...but none is working.

i have this document:

public_html/config_inc/cron/banners.php
my domain is: horeca-spel.nl

the script is working manualy...so thats not the problem...

i tried commands like:

*/1 * * * * /usr/local/bin/php /home/horecasp/config_inc/cron/banners.php

and

*/1 * * * * /usr/bin/php /home/horecasp/domains/horeca-spel.nl/public_html/config_inc/cron/banners.php

and

*/1 * * * * /usr/local/bin/php /home/horecasp/domains/horeca-spel.nl/public_html/config_inc/cron/banners.php


and a many other commands... who can help me...
 
What are you trying to do? If you trying to get it to run every minute you don't need the /1 ;)
Have it email you a report each time it is run for more information as to why it's failing.

Find out where the php binary is, it's usually /usr/local/bin/php

Then use it something like this:
Code:
/usr/local/bin/php -q -f /home/horecasp/domains/horeca-spel.nl/public_html/config_inc/cron/banners.php

Of course you also need the correct path to the script your running and since you've tried so many variants, it would seem to indicate that you don't know where you've uploaded the file. ;)
 
Back
Top