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!

Cron Job Settings

Discussion in 'General Discussion' started by johkar1, Oct 25, 2009.

  1. johkar1

    johkar1 Registered

    Joined:
    Oct 25, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    I am trying to load a URL via a Cron job. I have two questions.

    1) If I set cPanel to run the job at 9AM every day, the minutes, months and weekdays multi-select always select the top option upon save (ex. Every Month).

    2 I am still struggling with getting the Cron job right. This doesn't work:

    0 * * * * curl -s -o /dev/null myurl.com: The Leading Domain Names Site on the Net

    Error returned: /bin/sh: 0: command not found

    NOTE: My URL is actually to a Joomla calendar component which updates the calendar via the URL to my ical file on the server. If I run the URL I am trying to call directly in the browser it works fine so I know that piece works.
     
Loading...

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