Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    2

    Default Help Setting a cPanel Cron Job

    Hi Folks:

    I've been using FeedWordPress for a couple of weeks now... its a very nice RSS agregator.

    The author has a way he says that it can be updated using a cron tab. Here is the code he gives:
    */15 * * * * curl --silent http://www.zyx.com/blog/?update_feedwordpress=1

    I have tried for a couple of hours different variations and cant get it to work. My blog is at (example): http://www.domain.com/blog/

    My server uses cPanel 11. The main error I get is: "No such file or directory"

    I have tried it with and without parenthesis, without curl, with index.php before the "?update_feedwordpress=1" etc.

    If I can't get this to work, what would I use to have the cron run the home page of the site (the second method this plugin uses to get updates is when someone visits the home page it will cause an update to be triggered).

    I am using cPanel 11 x3. I also am running a VPS so I have full access to WHM if needed.


    Thanks for any help.

    Matthew

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    The first step I'd recommend in troubleshooting this is to visit http://www.zyx.com/blog/?update_feedwordpress=1 in your web browser, just to ensure it is properly functioning, while it isn't directly related to the error, I usually do this with my own cron scripts.

    It is possible that curl may not be installed on the server. In this case, I use lynx instead. I just have lynx request the page as a means to trigger the cron job (exactly what was being done with curl, but this is an alternate means by which to do this).

    If you aren't familiar with lynx and want to know what parameters it takes and do not have shell access, you can do an internet search for man lynx for assistance.

Similar Threads & Tags
Similar threads

  1. Setting up a Cron Job
    By carella in forum New User Questions
    Replies: 5
    Last Post: 11-28-2010, 10:46 AM
  2. Help Setting up a Cron Job
    By wczone in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-25-2007, 12:58 AM
  3. need help with setting up a cron job
    By positive in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-27-2004, 05:19 PM
  4. need help with setting up a cron job
    By positive in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-27-2004, 02:11 PM
  5. Cron Job in CPanel 7
    By seahorse in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-14-2003, 09:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube