Fix-up for XML and Bash syntax

terminate keys
This commit is contained in:
Mark Stanfill
2020-08-03 10:49:30 -05:00
committed by GitHub
parent ffd52cc152
commit dc112a8989

View File

@ -36,12 +36,13 @@ While you can start a threat scan at any time with Microsoft Defender ATP, your
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c<string>
<string>/usr/local/bin/mdatp --scan --quick<string>
<string>-c</string>
<string>/usr/local/bin/mdatp --scan --quick</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartCalendarInterval</key><dict>
<key>StartCalendarInterval</key>
<dict>
<key>Day</key>
<integer>3</integer>
<key>Hour</key>
@ -68,8 +69,8 @@ While you can start a threat scan at any time with Microsoft Defender ATP, your
4. To load your file into **launchd**, enter the following commands:
```bash
`$ launchctl load /Library/LaunchDaemons/<your file name.plist>`
`$ launchctl start <your file name>`
launchctl load /Library/LaunchDaemons/<your file name.plist>`
launchctl start <your file name>`
```
5. Your scheduled scan runs at the date, time, and frequency you defined in your .plist file. In the example, the scan runs at 2:00 AM every 7 days on a Friday, with the StartInterval using 604800 seconds for one week.