Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (14 sloc) 349 Bytes
#[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
while (1)
{
try
{
Invoke-RestMethod http://localhost/pleasanter/reminderschedules/remind?NoLog=1
[DateTime]::Now.ToString() + ": " + "success"
}
catch
{
[DateTime]::Now.ToString() + ": " + $error
}
Start-Sleep -s 5
}