stokedallthetim
05-07-2007, 01:19 PM
Hello everyone,
I am trying to set up a cron job to run a program. The PHP script is located at http://www.a2z-central.com/rsstoblog4/post.php and I am just wondering how to set this up. The program creator says to try the following scripts:
1. /usr/local/bin/php /home/atwozcen/public_html/post/post.php
2. GET http://www.a2z-central.com/post/post.php > /dev/null
3. lynx -dump http://a2z-central.com/post/post.php > /dev/null
4. curl http://www.a2z-central.com/post/post.php > /dev/null
5. php public_html/post/post.php
6. php -q /home/atwozcen/public_html/post/post.php
7. cd /home/ atwozcen /public_html/post ; /usr/local/bin/php /home/ atwozcen /public_html/post/post.php
8. php -f /home/www/index.php
9. php -q /home/atwozcen/www/rsstoblog4/post.php
10. POST http://www.a2z-central.com/post/post.php > /dev/null
Which one will work? And What is meant by "Shell" and "Path"? Also, I think there is a problem with some of these scripts since they lead to /post/post.php. Shouldn't they be /rsstoblog4/post.php since that is where the script is?
Thanks,
Ed Brancheau
I am trying to set up a cron job to run a program. The PHP script is located at http://www.a2z-central.com/rsstoblog4/post.php and I am just wondering how to set this up. The program creator says to try the following scripts:
1. /usr/local/bin/php /home/atwozcen/public_html/post/post.php
2. GET http://www.a2z-central.com/post/post.php > /dev/null
3. lynx -dump http://a2z-central.com/post/post.php > /dev/null
4. curl http://www.a2z-central.com/post/post.php > /dev/null
5. php public_html/post/post.php
6. php -q /home/atwozcen/public_html/post/post.php
7. cd /home/ atwozcen /public_html/post ; /usr/local/bin/php /home/ atwozcen /public_html/post/post.php
8. php -f /home/www/index.php
9. php -q /home/atwozcen/www/rsstoblog4/post.php
10. POST http://www.a2z-central.com/post/post.php > /dev/null
Which one will work? And What is meant by "Shell" and "Path"? Also, I think there is a problem with some of these scripts since they lead to /post/post.php. Shouldn't they be /rsstoblog4/post.php since that is where the script is?
Thanks,
Ed Brancheau