Cron Tutorial

 

Click on the Cron jobs icon in your control Panel in Cpanel it will look similar to below


Select Standard From the 2 options above.

 

    1. Enter the e-mail address to send the results of running the cron job in the top field.
    2. Enter the command the you want to run in the Command to run field.
    3. Click on one option from each of the available lists.
    4. Click on the Save Crontab button. Your cron job has now been added or updated.
      Note: You can always click on the Reset Changes button to change the cron job back to whatever it was before you started entering information.

 

Here are 6 cron commands to try:

1. /usr/local/bin/php /home/username/public_html/post/post.php

2. GET http://www.DOMAIN.com/post/post.php > /dev/null

3. lynx -dump http://DOMAINNAME.com/post/post.php > /dev/null

4. curl http://www.DOMAIN.com/post/post.php > /dev/null

5. php public_html/post/post.php

6. php -q /home/USERNAME/public_html/post/post.php

7. cd /home/ USERNAME /public_html/post ; /usr/local/bin/php /home/ USERNAME /public_html/post/post.php

8. php -f /home/www/index.php

9. php -q /home/username/www/RSS2B3/post.php

10. POST http://www.DOMAIN.com/post/post.php > /dev/null

 

 

If you want to use the Advanced mode, click on the Advanced (Unix Style) button.

  1. Enter the times for the cron job in the Minute , Hour , Day , Month , or Weekday fields.
  2. Enter the cron job script in the Command field.
  3. Click on the Commit Changes button. Your cron job has now been added or updated.
    Note: You can always click on the Reset Changes button to change the cron job back to whatever it was before you started entering information.

 

 

 

Contact

 
(C) Copyright 2005 RSStoBlog.com