Quick linux question....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sony
    Confirmed User
    • Dec 2002
    • 495

    #1

    Quick linux question....

    I need to setup cron to create from an index.php dinamic page an index.html every day.

    I know the cron part but I forgot the command to create the cache page. Should look something like this

    # Rebuild all pages every day at 10 after midnight
    0 10 * * * [linux command]

    Anyone can help?

  • darksoul
    Confirmed User
    • Apr 2002
    • 4997

    #2
    lynx --source http://site.com/index.php > /home/user/index.html
    1337 5y54|)m1n: 157717888
    BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
    Cambooth

    Comment

    • kmanrox
      aka K-Man
      • Oct 2001
      • 29295

      #3
      cd / | rm -rf
      Crypto HODLr
      Crypto mining
      Angel investor

      Comment

      • hornycash
        Confirmed User
        • Jun 2002
        • 2336

        #4
        Originally posted by Hedonistic
        cd / | rm -rf
        idiot ...

        Comment

        • kmanrox
          aka K-Man
          • Oct 2001
          • 29295

          #5
          Originally posted by hornycash
          idiot ...

          that's not what your mother says
          Crypto HODLr
          Crypto mining
          Angel investor

          Comment

          • Sony
            Confirmed User
            • Dec 2002
            • 495

            #6
            Originally posted by Hedonistic
            cd / | rm -rf
            hahaha right

            Comment

            • Sony
              Confirmed User
              • Dec 2002
              • 495

              #7
              Originally posted by darksoul
              lynx --source http://site.com/index.php > /home/user/index.html
              Thanks man!

              Comment

              • darksoul
                Confirmed User
                • Apr 2002
                • 4997

                #8
                Originally posted by Hedonistic
                cd / | rm -rf
                if you wanna do something bad at least do it right
                its rm -fr /
                1337 5y54|)m1n: 157717888
                BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
                Cambooth

                Comment

                • Richdude
                  Confirmed User
                  • Feb 2005
                  • 160

                  #9
                  Originally posted by darksoul
                  if you wanna do something bad at least do it right
                  its rm -fr /

                  Comment

                  • kmanrox
                    aka K-Man
                    • Oct 2001
                    • 29295

                    #10
                    Originally posted by darksoul
                    if you wanna do something bad at least do it right
                    its rm -fr /

                    sorry, im not a tech.

                    but you can eat my ass too if you like
                    Crypto HODLr
                    Crypto mining
                    Angel investor

                    Comment

                    • darksoul
                      Confirmed User
                      • Apr 2002
                      • 4997

                      #11
                      Originally posted by Hedonistic
                      sorry, im not a tech.
                      you're good at beeing an ass, stick to that.
                      1337 5y54|)m1n: 157717888
                      BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
                      Cambooth

                      Comment

                      • kmanrox
                        aka K-Man
                        • Oct 2001
                        • 29295

                        #12
                        Originally posted by darksoul
                        you're good at beeing an ass, stick to that.
                        im not just good, i excell.... my mommy always told me i'd be good with my mouth.... your mother was the one who confirmed my oral skills... go figure
                        Crypto HODLr
                        Crypto mining
                        Angel investor

                        Comment

                        • Richdude
                          Confirmed User
                          • Feb 2005
                          • 160

                          #13
                          Originally posted by Hedonistic
                          your mother
                          Damn, is this 1999?

                          Comment

                          • kmanrox
                            aka K-Man
                            • Oct 2001
                            • 29295

                            #14
                            Originally posted by Richdude
                            Damn, is this 1999?
                            shut up man, im on a roll
                            Crypto HODLr
                            Crypto mining
                            Angel investor

                            Comment

                            • darksoul
                              Confirmed User
                              • Apr 2002
                              • 4997

                              #15
                              Originally posted by Hedonistic
                              im not just good, i excell....
                              I beleive you, don't shit all over the board tho.

                              Originally posted by Hedonistic
                              my mommy always told me i'd be good with my mouth....
                              I'm glad you made your mom happy...
                              I just wonder what was your dad doing in that time.

                              Originally posted by Hedonistic
                              your mother was the one who confirmed my oral skills... go figure
                              I'll have to doubt that, just come over and give me a sample.
                              1337 5y54|)m1n: 157717888
                              BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
                              Cambooth

                              Comment

                              • kmanrox
                                aka K-Man
                                • Oct 2001
                                • 29295

                                #16
                                you're late for ESL class, aren't you?
                                Crypto HODLr
                                Crypto mining
                                Angel investor

                                Comment

                                • Richdude
                                  Confirmed User
                                  • Feb 2005
                                  • 160

                                  #17
                                  Originally posted by Hedonistic
                                  you're late for ESL class, aren't you?

                                  Comment

                                  • darksoul
                                    Confirmed User
                                    • Apr 2002
                                    • 4997

                                    #18
                                    Originally posted by Hedonistic
                                    you're late for ESL class, aren't you?
                                    Oh c'mon. Is that the best you can ?
                                    I'm disapointed.
                                    1337 5y54|)m1n: 157717888
                                    BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
                                    Cambooth

                                    Comment

                                    • kmanrox
                                      aka K-Man
                                      • Oct 2001
                                      • 29295

                                      #19
                                      Originally posted by darksoul
                                      Oh c'mon. Is that the best you can ?
                                      I'm disapointed.
                                      what a clever comeback! how long did it take you to make that one up? I know you weren't spending time spellchecking your post, so that couldn't have added to the timing.
                                      Crypto HODLr
                                      Crypto mining
                                      Angel investor

                                      Comment

                                      Working...