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:
-
/usr/local/bin/php /home/atwozcen/public_html/post/post.php
-
GET http://www.a2z-central.com/post/post.php > /dev/null
-
lynx -dump http://a2z-central.com/post/post.php > /dev/null
-
curl http://www.a2z-central.com/post/post.php > /dev/null
-
php public_html/post/post.php
-
php -q /home/atwozcen/public_html/post/post.php
-
cd /home/ atwozcen /public_html/post ; /usr/local/bin/php /home/ atwozcen /public_html/post/post.php
-
php -f /home/www/index.php
-
php -q /home/atwozcen/www/rsstoblog4/post.php
-
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