Results 1 to 3 of 3
  1. #1

    How to set up cron job on godaddy?

    Hey guys, my current web host is linux shared hosting.
    I tried godaddy's cron manager to run Perl script.
    Here is the command:

    #!/usr/bin/perl -q /home/content/h/o/s/hostus/html/cgi/

    I was wondering for why my cron jobs would not work?

  2. #2
    Join Date
    Oct 2002
    State of Disbelief
    I don't believe you use the whole shebang line "#!/user/bin/perl", just this:
    perl -q /path/to/

    The shebang should be on the first line of the script being called, and you need to make sure it points to PERL on your server.
    Having problems, or maybe questions about WHT? Head over to the help desk!

  3. #3
    did you ever end up getting a cron to run with godaddy? im not even getting emails about the cron jobs I've configured and I can't seem to get even the most basic of jobs to run. Here's what my crontab file looks like:

    $ cat crontab
    # canary
    MAILTO="[email protected]"
    # 2 test2
    0 * * * * /bin/touch $HOME/cron_test
    # 1 test1
    1 * * * * /web/cgi-bin/php $HOME/html/gdform.php

    Any ideas? Thanks for the replies in advance

Similar Threads

  1. How to set cron job?
    By xfob in forum Hosting Security and Technology
    Replies: 7
    Last Post: 09-11-2006, 08:57 PM
  2. How do I set up a Cron Job to email
    By Dawizz in forum Hosting Security and Technology
    Replies: 6
    Last Post: 06-14-2005, 09:08 AM
  3. $5 to set up a cron job
    By mrlarter in forum Employment / Job Offers
    Replies: 2
    Last Post: 07-04-2004, 11:15 PM
  4. How to set a cron job?
    By Cael in forum Hosting Security and Technology
    Replies: 6
    Last Post: 01-08-2002, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts