My Code:
Code: Select all
Function jobArrived(s, job)
job.log 2, "sleeping for 6 seconds..."
WScript.Sleep 6000
job.log 2, "6 seconds up"
job.sendToSingle(job.getPath())
End Function
Code: Select all
Function jobArrived(s, job)
job.log 2, "sleeping for 6 seconds..."
WScript.Sleep 6000
job.log 2, "6 seconds up"
job.sendToSingle(job.getPath())
End Function
http://ss64.com/vb/sleep.htmlWScript.Sleep
Suspend the execution of the current script for the specified number of milliseconds.
Syntax
WScript.Sleep lngTime
Arguments:
lngTime is the delay in milliseconds
Sleep is a wscript method.
Example
WScript.Sleep(5000)
WScript.Echo("5 seconds have passed.")
Code: Select all
function jobArrived( s : Switch, job : Job )
{
s.sleep(6);
job.sendToSingle(job.getPath());
}
You have "Space jobs apart" with unit "Seconds/Minutes/Hour/Day" in the Hold configurator.jackson41 wrote:We have 10 jobs coming in all of the same time. I thought the hold configurator would hold all jobs for a period of time then pass it on to the next folder. So if all 10 jobs came in at the same time then they would be passed through to the next folder at the same time. I need to create a 10 second internal / gap between each job even if they arrive at the same time.
lombert wrote:You have "Space jobs apart" with unit "Seconds/Minutes/Hour/Day" in the Hold configurator.jackson41 wrote:We have 10 jobs coming in all of the same time. I thought the hold configurator would hold all jobs for a period of time then pass it on to the next folder. So if all 10 jobs came in at the same time then they would be passed through to the next folder at the same time. I need to create a 10 second internal / gap between each job even if they arrive at the same time.
You find it in the outgoing connection in the botom.