[resolved] sleep for milli seconds

One Star

[resolved] sleep for milli seconds

hi all,
i have job like this,
tRunjob-----> tsleep---- >tRunjob2----->tsleep---- > tRunjob3
i want to give sleep as 100ms (milli seconds). but tsleep is taking only seconds as argument. how can i give 100 milli seconds sleep after each tRunjob??
thanks and regards,
Akshath H

Accepted Solutions
Seventeen Stars

Re: [resolved] sleep for milli seconds

use a tJava component and use this code:
Thread.sleep(100);

Was this answer as quick as possible ;-)

All Replies
One Star

Re: [resolved] sleep for milli seconds

hi,
condition between component is "Oncomponent ok". please reply as quick as possible.
Thanks and Regards
Akshath hegde
Seventeen Stars

Re: [resolved] sleep for milli seconds

use a tJava component and use this code:
Thread.sleep(100);

Was this answer as quick as possible ;-)
One Star

Re: [resolved] sleep for milli seconds

hi,
Thank you for response. actually its little late. we implemented around 50jobs using tsleep. so now have to chnage it to tJava.
But its a great solution. worked like a charm.
Regards,
Akshath Hegde