How can I run an .exe on my local machine at random programatically?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CunningStunt
    Confirmed User
    • Aug 2006
    • 5594

    #1

    How can I run an .exe on my local machine at random programatically?

    I know some of you are pc geniuses.

    What I want to do is run a program on my local machine (not a server) X times per week at random. NOT linked to startup, I never turn the machines off.

    Anyone know a program / solution?
  • d-null
    . . .
    • Apr 2007
    • 13724

    #2
    if the random part of your requirements isn't necessary, you can use 'scheduled tasks' in the control panel for xp to run .exe

    not sure how to do it completely random though

    __________________

    Looking for a custom TUBE SCRIPT that supports massive traffic, load balancing, billing support, and h264 encoding? Hit up Konrad!
    Looking for designs for your websites or custom tubesite design? Hit up Zuzana Designs
    Check out the #1 WordPress SEO Plugin: CyberSEO Suite

    Comment

    • CunningStunt
      Confirmed User
      • Aug 2006
      • 5594

      #3
      This works but not randomly for anyone else that wants a solution: http://support.microsoft.com/kb/308569 - windows scheduled tasks.

      Comment

      • CunningStunt
        Confirmed User
        • Aug 2006
        • 5594

        #4
        thanks jetjet, our posts crossed.

        Comment

        • teg0
          Confirmed User
          • Jan 2006
          • 4204

          #5
          batch file programming

          Comment

          • u-Bob
            there's no $$$ in porn
            • Jul 2005
            • 33063

            #6
            might wanna clean it up a bit

            Comment

            • u-Bob
              there's no $$$ in porn
              • Jul 2005
              • 33063

              #7
              @sleepy = (120..1200);
              while(1){
              system("foobar.exe");
              $foo = $sleepy[rand(@sleepy)];
              sleep $foo;
              }

              Comment

              • u-Bob
                there's no $$$ in porn
                • Jul 2005
                • 33063

                #8
                gfy fucked up

                Comment

                • WiredGuy
                  Pounding Googlebot
                  • Aug 2002
                  • 34515

                  #9
                  Batch file programming with a sleeper command (ie: sleep on unix).
                  WG
                  I play with Google.

                  Comment

                  Working...