optical
07-28-2007, 02:09 PM
Hello
I need to call cron.php with lynx or wget from its web site's domain and not directly from localhost i.e.
NOT
/usr/bin/lynx -source /home/USERNAME/public_html/cron.php
BUT
/usr/bin/lynx -source http://www.yoursite.com/cron.php
If I try the second line in cPanel's cron manager, I get (by email):
Looking up www.yoursite.com
Unable to locate remote host www.yoursite.com.
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://www.yoursite.com/cron.php
while if I use the first line the job seems to run correctly
I have set up my account yesterday but the domain name is registered and active (I can open it from my browser).
Thank you for your help.
I need to call cron.php with lynx or wget from its web site's domain and not directly from localhost i.e.
NOT
/usr/bin/lynx -source /home/USERNAME/public_html/cron.php
BUT
/usr/bin/lynx -source http://www.yoursite.com/cron.php
If I try the second line in cPanel's cron manager, I get (by email):
Looking up www.yoursite.com
Unable to locate remote host www.yoursite.com.
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://www.yoursite.com/cron.php
while if I use the first line the job seems to run correctly
I have set up my account yesterday but the domain name is registered and active (I can open it from my browser).
Thank you for your help.