The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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