Azure-Sentinel/DataConnectors/M365Defender-VulnerabilityM.../functionPackage/GetMDVMData
Alex Anders 309e109629 Error handling. 2024-03-14 12:18:00 -06:00
..
function.json Updating function.json 2023-04-26 09:30:54 +05:30
readme.md Added comments and simplified code. 2022-12-10 17:56:41 -07:00
run.ps1 Error handling. 2024-03-14 12:18:00 -06:00

readme.md

TimerTrigger - PowerShell

The TimerTrigger makes it incredibly easy to have your functions executed on a schedule. This sample demonstrates a simple use case of calling your function every 5 minutes.

How it works

For a TimerTrigger to work, you provide a schedule in the form of a cron expression(See the link for full details). A cron expression is a string with 6 separate expressions which represent a given schedule via patterns. The pattern we use to represent every 5 minutes is 0 */5 * * * *. This, in plain text, means: "When seconds is equal to 0, minutes is divisible by 5, for any hour, day of the month, month, and day of the week".

Learn more

Documentation