wget null output help needed.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cooldude7
    Confirmed User
    • Nov 2009
    • 4306

    #1

    wget null output help needed.

    i did this b4 but i y'day ideleted it from cron coz server was overloaded.,

    now i cant recall the command/.,

    all i want is no output file created eveytime cron is run

    i tried

    wget http://www.domain.com/job.php > /dev/null 2>&1

    creates files at server root
    ----------------------------------------------------------------------
    wget -q http://www.domain.com/job.php > /dev/null 2>&1

    creates files at server root

    help needed ., thanks
    Last edited by cooldude7; 11-13-2011, 10:17 AM.
  • cooldude7
    Confirmed User
    • Nov 2009
    • 4306

    #2
    wget -o /dev/null http://www.domain.com/job.php

    creates files.,

    Comment

    • cooldude7
      Confirmed User
      • Nov 2009
      • 4306

      #3
      wget -nc http://www.domains.com/job.php

      this looks like it create only one file and then supress the newer files.,
      so it will help, will c.,

      Comment

      • cooldude7
        Confirmed User
        • Nov 2009
        • 4306

        #4
        thanks for your time .,

        have a fucking gr8 day ahead.,

        /thread

        Comment

        • cooldude7
          Confirmed User
          • Nov 2009
          • 4306

          #5
          Originally posted by cooldude7
          wget -nc http://www.domains.com/job.php

          this looks like it create only one file and then supress the newer files.,
          so it will help, will c.,
          u bastard wget., this one doesnt even calls the script.,

          Comment

          • garce
            Confirmed User
            • Oct 2001
            • 7103

            #6
            You can't just end a thread because you typed "/thread" in the thread that you want to end.

            I'm posting in this thread to keep the thread alive until this thread degenerates into yet another thread that feaures the thread-killing bickerings of DVTimes, DamianJ, and ArseWithClass.

            Now those are some good threads.

            Comment

            • raymor
              Confirmed User
              • Oct 2002
              • 3745

              #7
              wget -q -O /dev/null

              I don't THINK that prints anything on STDERR unless there's an error. If it does, then add >/dev/null 2>&1
              For historical display only. This information is not current:
              support@bettercgi.com ICQ 7208627
              Strongbox - The next generation in site security
              Throttlebox - The next generation in bandwidth control
              Clonebox - Backup and disaster recovery on steroids

              Comment

              • cooldude7
                Confirmed User
                • Nov 2009
                • 4306

                #8
                Originally posted by raymor
                wget -q -O /dev/null

                I don't THINK that prints anything on STDERR unless there's an error. If it does, then add >/dev/null 2>&1
                okie its working like charm for now., without creating additional files.,


                wget -q -O /dev/null http://www.domain.com/job.php > /dev/null 2>&1

                thanks mate.

                Comment

                • raymor
                  Confirmed User
                  • Oct 2002
                  • 3745

                  #9
                  Originally posted by cooldude7
                  okie its working like charm for now., without creating additional files.,


                  wget -q -O /dev/null http://www.domain.com/job.php > /dev/null 2>&1

                  thanks mate.
                  In that case I may start a new tradition.
                  That makes the second tech thread in row answered (correctly) while driving. :D
                  Maybe I'll start doing ALL tech threads at speed. ;)
                  Last edited by raymor; 11-14-2011, 12:00 AM.
                  For historical display only. This information is not current:
                  support@bettercgi.com ICQ 7208627
                  Strongbox - The next generation in site security
                  Throttlebox - The next generation in bandwidth control
                  Clonebox - Backup and disaster recovery on steroids

                  Comment

                  Working...