Sleep
- Last Updated: January 26, 2022
- 1 minute read
- MOVEit Automation
- Version 2026
- Documentation
Sleep pauses the current task between file transfers for a specified number of seconds or milliseconds.
Input Parameters
- SleepScript_Time (Required) - The number of seconds or milliseconds for the script to sleep. Maximum is 16000.
- SleepScript_Unit (Required) - Specifies whether to count off time in milliseconds or seconds. Default is seconds.
Notes
This built-in script can be run per-file or once-after-all-files.
This built-in script can be run as the first step of a task.
Example #1
Kara has noticed that a particular application on a remote server has performance issues when MOVEit Automation uploads files to it as fast as MOVEit Automation can. Kara wants to introduce an artificial pause into the MOVEit Automation file transfer task that points to the destination so that the remote application has time to process each file. After some trial-and-error, Kara has decided that a 5 second pause usually clears up the issues with the remote application.
To make this happen in the MOVEit Automation task:
- Select the existing task, which already has a source, destination and schedule.
- Add a new process: "Sleep", and make sure the process is set to run "per-file".
- Set process parameters:
- SleepScript_Unit = "seconds"
- SleepScript_Time = "5"