bitsadmin setnotifyflags
Sets the event notification flags for the specified job.
Syntax
bitsadmin /setnotifyflags <job> <notifyflags>
Parameters
| Parameter | Description |
|---|---|
| job | The job's display name or GUID. |
| notifyflags | Can include one or more of the following notification flags, including:
|
Examples
To set the notification flags to generate an event when an error occurs, for a job named myDownloadJob:
bitsadmin /setnotifyflags myDownloadJob 2
Related links
Feedback
Submit and view feedback for