1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00
bitwarden-server/util/Function/KeepAlive.cs
2017-09-08 12:38:09 -04:00

18 lines
418 B
C#

using System;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
namespace Bit.Function
{
public static class KeepAlive
{
[FunctionName("KeepAlive")]
public static void Run(
[TimerTrigger("0 */15 * * * *")]TimerInfo myTimer,
TraceWriter log)
{
log.Info($"C# Timer trigger function executed at: {DateTime.Now}");
}
}
}