Of couse a Run Prosess does not consume a server thread as a set field
run process.

Still I does not like the solution to sleep a process for a while.
With a large number of users you can end up with a lot of processes
running...

--
Jarl

On 11/30/06, Tim Widowfield <[EMAIL PROTECTED]> wrote:
Well, assuming it's a server Run Process action and not a Set Fields $PROCESS$ 
action, then I don't understand what you're saying, Jarl.  How can it affect a 
server thread?  A Run Process is a phase-three event where the AR Server simply 
executes the command in a shell without waiting for any return codes.

It sounds as if Anoop needs to wait for one process to finish before starting 
the next.  In Unix/Linux shells, you can perform sequential events by placing a 
semicolon between each command.  Here's a trivial example:

   $ cd /etc; ls -al

In Windows, you can do the same thing with an ampersand, like this:

   > cd c:\windows\system32 & dir

If you still need to sleep between the commands, you can insert the sleep 
command on Unix/Linux:

  $ cd /etc/; sleep 5; ls -al

Windows doesn't come with a sleep or wait command, but there are workarounds.  
See:

  http://malektips.com/dos0017.html


--Tim

----- Original Message ----
From: Jarl Grøneng <[EMAIL PROTECTED]>
To: arslist@ARSLIST.ORG
Sent: Thursday, November 30, 2006 12:25:50 PM
Subject: Re: [ARSLIST] How to create "wait" action?


This is not a good solution. You then occupia a server thread for 15
seconds. Imagine if you got 200 users doing this.


Why do you need to wait 15 seconds?

--
Jarl



On 11/30/06, Eric Cleereman (IT) <[EMAIL PROTECTED]> wrote:
> **
>
> Hi Anoop,
>
> One method is to create a run process after the first which issues a sleep
> command.  Once the sleep command completes, execution continues.
>
> Eric Cleereman
>
> -----Original Message-----
> From: Action Request System discussion list(ARSList)
> [mailto:[EMAIL PROTECTED] Behalf Of Anoop Sasidharan
> Sent: Thursday, November 30, 2006 12:03 PM
> To: arslist@ARSLIST.ORG
> Subject: How to create "wait" action?
>
> ** Listers,
> After doing a run process, we would like the current action to wait for 15
> sec before going to the next? In such a case, how to incorprate a "wait"
> funcationality, so that Remedy waits for this period of time.
>
> Any thoughts?
>
>
> Thanks
> Anoop
>
>  ________________________________
>  Search from any Web page with powerful protection. Get the FREE Windows
> Live Toolbar Today! Try it now!
> __20060125_______________________This posting was submitted
> with HTML in it___
>  __20060125_______________________This posting was
> submitted with HTML in it___

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"

Reply via email to