Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Help Setting a cPanel Cron Job

Discussion in 'General Discussion' started by wczone, Dec 16, 2007.

  1. wczone

    wczone Registered

    Dec 16, 2007
    Likes Received:
    Trophy Points:
    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

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

    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.

  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The first step I'd recommend in troubleshooting this is to visit 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.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice