text
stringlengths
0
4.23k
job
The job's display name or GUID.
timeout
The length for the download timeout, in seconds.
Examples
To set the timeout for the job named myDownloadJob to 10 seconds.
bitsadmin /setmaxdownloadtime myDownloadJob 10
bitsadmin setminretrydelay
Sets the minimum length of time, in seconds, that BITS waits after encountering a transient error before trying to transfer the file.
Syntax
bitsadmin /setminretrydelay <job> <retrydelay>
Parameters
Parameter
Description
job
The job's display name or GUID.
retrydelay
Minimum length of time for BITS to wait after an error during transfer, in seconds.
Examples
To set the minimum retry delay to 35 seconds for the job named myDownloadJob:
bitsadmin /setminretrydelay myDownloadJob 35
bitsadmin setnoprogresstimeout
Sets the length of time, in seconds, that BITS tries to transfer the file after the first transient error occurs.
Syntax
bitsadmin /setnoprogresstimeout <job> <timeoutvalue>
Parameters
Parameter
Description
job
The job's display name or GUID.
timeoutvalue
The length of time that BITS waits to transfer a file after the first error, in seconds.
Remarks
The "no progress" timeout interval begins when the job encounters its first transient error.
The timeout interval stops or resets when a byte of data is successfully transferred.
If the "no progress" timeout interval exceeds the timeoutvalue, then the job is placed in a fatal error state.
Examples
To set the "no progress" timeout value to 20 seconds, for the job named myDownloadJob:
bitsadmin /setnoprogresstimeout myDownloadJob 20
bitsadmin setnotifycmdline
Sets the command-line command that runs after the job finishes transferring data or after a job enters a specified state.
Note
This command isn't supported by BITS 1.2 and earlier.
Syntax
bitsadmin /setnotifycmdline <job> <program_name> [program_parameters]
Parameters
Parameter
Description
job
The job's display name or GUID.
program_name
Name of the command to run when the job completes. You can set this value as NULL, but if you do, program_parameters must also be set to NULL.
program_parameters
Parameters that you want to pass to program_name. You can set this value as NULL. If program_parameters isn't set to NULL, then the first parameter in program_parameters must match the program_name.