w1ww Established Member ★ 15 ★ Impact 9 Mar 4, 2007 518 views 4 replies #1 Hello, Let's say I want to run http://www.mysite.com/lol.php every hour. Whats is the command I need to insert? Thank you
Hello, Let's say I want to run http://www.mysite.com/lol.php every hour. Whats is the command I need to insert? Thank you
Dan Buy my domains.VIP Member VIP ★ 15 ★ Impact 108 Mar 4, 2007 #2 php -f /home/yourusernamename/public_html/lol.php That's assuming mysite.com is your parked domain.
w1ww Established Member ★ 15 ★ Impact 9 Mar 4, 2007 #3 Using this: php -f /home/myuser/public_html/noticias/getrss.php?count=10 I get: "No input file specified."
Using this: php -f /home/myuser/public_html/noticias/getrss.php?count=10 I get: "No input file specified."
Dan Buy my domains.VIP Member VIP ★ 15 ★ Impact 108 Mar 4, 2007 #4 If you're going to use GET variables it would be: wget -O /dev/null http://www.mysite.com/getrss.php?count=10 For the PHP command, it is -q not -f.
If you're going to use GET variables it would be: wget -O /dev/null http://www.mysite.com/getrss.php?count=10 For the PHP command, it is -q not -f.
w1ww Established Member ★ 15 ★ Impact 9 Mar 4, 2007 #5 "/bin/sh: /usr/bin/wget: Permission denied" I'm going to contact support of my hosting company ! Thank you, Dan
"/bin/sh: /usr/bin/wget: Permission denied" I'm going to contact support of my hosting company ! Thank you, Dan