3 replies
I've made a cron job in godaddy, but it does not appear to work.

All want to do is open a html file with wget. I can't use $home... as it a rewrited url with paramaters.

I asked godaddy support. they told me to read the scripting documentation. But I've tried numerous forms of wget and can't make it work. I guess the professionals at godaddy know no more than I do.

Does anyone here know how I can get a cron job to open a url?
#cron #godaddy #job
  • Profile picture of the author cheapskatemate
    I tried

    wget httpdotwwwdotmydomain.com/cron

    but it failed with a 403 forbidden error.
    {{ DiscussionBoard.errors[2723529].message }}
  • Profile picture of the author max2010
    uhm did you try open it with a curl php script and launch the php as a cron?
    {{ DiscussionBoard.errors[2724560].message }}
  • Profile picture of the author SteveJohnson
    Did you actually follow the directions in GoDaddy's help file?

    Creating a Basic Cron Job - Search the Go Daddy Help Center

    Your example isn't a full URL, unless you're rewriting the URL in the background somewhere.

    An easy way to determine the correct URL is to modify your file to echo output, then go to the URL in a browser. If you see the output, then use that address in your cron job setup.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[2724625].message }}

Trending Topics