startup delayer

J

Junkone

hello
I run few ruby programs from windows startup. sometimes, it looks very
slow becoz xp is trying to startup a few programs. is there a way i
can delay the startup so that these ruby prog start after xp is fully
loaded.

seede
 
7

7stud --

Junkone said:
hello
I run few ruby programs from windows startup. sometimes, it looks very
slow becoz xp is trying to startup a few programs. is there a way i
can delay the startup so that these ruby prog start after xp is fully
loaded.

seede

Create a ruby program whose first line is:

sleep(10)

After that line add lines that will execute your ruby programs, e.g.

system('ruby myprog.rb')
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,149
Latest member
Vinay Kumar Nevatia0
Top