Pause action for 10 mins

I am checking action to wait 10 mins before complete task, we are executing one task through answer file that’s completed quick but in background process /installation running so looking action complete after 10 mins,

tried below two option but its get failed,

image

Looks like in your first Failed action, you do not have a end quote in the first line.

In you second, it appears you have smart quotes around adesso.

Please try:
parameter “adesso”="{now as string}"
pause while {(now - ((parameter “adesso”) as time)) < 10 * minute}

4 Likes

Are those smart quotes in the line that failed so aren’t being interpreted correctly? The quotes should look the same as those wrapped around "{now as string}"

2 Likes

its failed again

It’s still using Smart Quotes. Delete, and re-type, the quotes.
The forum web software is displaying “smart quotes” rather than "straight quotes", so copy/paste won’t work for them.

5 Likes
parameter "addesso"="{now as string}"
dos time /T > C:\pio.txt
pause while {(now - (parameter "addesso") as time) < 10*minute}
dos time /T >> C:\pio.txt

When putting “code” into the forum, it is best to use the formatting button </> to avoid smart-quotes and other autoformating errors.

“  !=  "

4 Likes