Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2005
    Posts
    388
    Thanks
    0
    Thanked 0 Times in 0 Posts

    path for a godaddy fedora box

    howdy,
    I have a server at godaddy, I am trying to setup a cron job to do an import for me in the middle of the night, I can't get the path right, I talked to godaddy tech support and they say they don't know anything about linux or system administration. What do they know I wondered?

    does anybody knowthe path to web servers on a fedora box? Would you please share with me. this is the error I get when the cron job fires.
    Code:
    /bin/bash: line 1: nsbsports/movedata: No such file or directory
    as far as I know I don't have access to the bin directory so I couldn't stick it in the path, I know the script works because I can putty into it and run it like
    ./movedata, should I run the./ in the cron job?

    thanks for your help.

  • #2
    New Coder
    Join Date
    Sep 2005
    Posts
    41
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by davehaz
    howdy,
    I talked to godaddy tech support and they say they don't know anything about linux or system administration. What do they know I wondered?
    WOW! thanks for the heads up!
    What kind of access do you have to your server? can you read the httpd.conf?
    Do you have PHP? if you do, write a little script
    PHP Code:
    <?php
              phpinfo
    ();
    ?>
    Save it as whatever works on your server.
    Load it up on your server somewhere and then call it from your browser.

    You're looking for the server root and document root settings
    Always use absolute path-names in cron jobs or shell scripts.
    from there you should be able to find the dir your looking for.
    And then call Godaddy and yell like crazy they sold you a Linux package and don;t have linux techs? Hope you got the guys name that told you that. Godaddy should know their tech support reputation may be the subject of discussion 'round a few forums at least!

  • #3
    Regular Coder
    Join Date
    Apr 2005
    Posts
    388
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I got it fingered out,thanks for the reply. Yes I couldnt believe what the tech support - Doug something was telling me. I wanted to ask him what exactly they did do or know but what was the point.

    Happy Turkey Day!


  •  

    Posting Permissions

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