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
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for