The crons don`t work!!!
the command is /usr/bin/php -q /home/kolanich/public_html/<script>
my site is on stoli
The crons don`t work!!!
the command is /usr/bin/php -q /home/kolanich/public_html/<script>
my site is on stoli
Last edited by kolanich; 03-26-2010 at 08:50 AM.
On Lotus, the following works:
1. Set the email notification to an address you can check. Error messages can be helpful and you can always turn it off once you get the cron job working the way you want.Code:/usr/local/bin/php -q /home/username/public_html/crontest.php
2. Use absolute paths in the script. The working directory seems to be /home/username , not the directory where the script is located.
Nothing is always absolutely so.
1 will set
2 dont understend
what do you mean
Say your script is in /home/username/public_html
Say you want to create a file "cron_output.txt" to append to.
If you use fopen( "cron_output.txt" , "a" ) , the file will be in /home/username , not /home/username/public_html
You should use fopen( "/home/username/public_html/cron_output.txt" , "a" )
Nothing is always absolutely so.
i see there is no effect
script made no action!!!
because it hasn`t been launched
They really don`t work
no e-mail reports.
***Moved to Programming Help***
█ Zubair Barkat | Level 2 Tech
█ 888-X10-9668 - zubair[@]x10hosting.com
█ x10Hosting - Giving Away Hosting Since 2004