GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How can I run an .exe on my local machine at random programatically? (https://gfy.com/showthread.php?t=838594)

CunningStunt 07-01-2008 08:53 PM

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? :helpme

d-null 07-01-2008 09:27 PM

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

CunningStunt 07-01-2008 09:27 PM

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

CunningStunt 07-01-2008 09:33 PM

thanks jetjet, our posts crossed.

teg0 07-01-2008 09:42 PM

batch file programming

u-Bob 07-02-2008 05:09 AM

might wanna clean it up a bit :)

u-Bob 07-02-2008 05:09 AM

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

u-Bob 07-02-2008 05:10 AM

gfy fucked up :)

WiredGuy 07-02-2008 07:10 AM

Batch file programming with a sleeper command (ie: sleep on unix).
WG


All times are GMT -7. The time now is 01:22 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123