Last post Mar 24, 2020 09:20 AM by PatriceSc
Mar 24, 2020 08:24 AM|EngSH|LINK
I have an API url (without auth), i want to run that link every 2 minutes on windows server.
How i can create schedule jobs like cron jobs on windows server?
Mar 24, 2020 09:20 AM|PatriceSc|LINK
On Windows these are "scheduled tasks". See for example https://o365reports.com/2019/08/02/schedule-powershell-script-task-scheduler/ to create a task using either
the GUI or PowerShell.
The task itself could be a powershell script using https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7 to
call the web api.