i need to run cron.php file by coron job
how can i do that
pls help me
thanks
http://www.sensitivedjs.co.cc
i need to run cron.php file by coron job
how can i do that
pls help me
thanks
http://www.sensitivedjs.co.cc
Place the cron.php in a suitable folder, it doesn't have to be the public_html folder.
then in cPanel go to "cron jobs" chose the standard option.
in the command to run line type: /usr/bin/php -q /home/yourcpaneluser/pathtofile/cron.php
the yourcpaneluser folder represents your root folder.
Set the timer as you need, but remember that on free servers you can not run it more often then every 5 minutes.
Do you have trouble reaching your site?
Check here first: News and Announcements
Don't forget that x10hosting has an irc server as well. Come and join the fun
server: irc.x10hosting.com, main channel: #x10hosting
There's a lot helpful users there if need help building your site
Thanks for quick reply
I am using coron.php for creating sitemap and submit to google
I have another qustion
I need to submit my site map to yahoo
http://search.yahooapis.com/SiteExpl...itemap=http:// my site /sitemap.xml
I dont have php file for that
how can I add this to coron job
and for ask
http://submissions.ask.com/ping?sitemap=http:// my site /sitemap.xml
how can I add these for coron job
thank you.
http://www.sensitivedjs.co.cc
LladyAnna - Are you sure croj jobs are enabled for free hosting? I tried your suggestion and few other threads but the job does not seem to run. I should get an email with the output but that is not happening. Also I tried to write a file on the server through script to check if the cron jobs are running but nothing seems to happen. I think cron jobs are not enabled... Please advice.
I hope my coron job is running
earlier my code was wrong and I got error detail mail
but now no job success or complete notification mail
how can I add html web page to coronjob
what is the command
pls help me
thank you
http://www.sensitivedjs.co.cc
Last edited by sen01dj; 06-21-2009 at 08:59 AM.
My cronjob working now
e:g :C planel user name :ruwan
path to folder :public_html/sitemap
file name :cron.php
/usr/bin/php -q /home/ruwan/public_html/sitemap/cron.php
http://www.sensitivedjs.co.cc