1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00
bitwarden-server/util/Function/KeepAlive.cs

16 lines
393 B
C#
Raw Normal View History

2017-09-08 18:38:09 +02:00
using System;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
namespace Bit.Function
{
public static class KeepAlive
{
[FunctionName("KeepAlive")]
2017-11-15 13:59:03 +01:00
public static void Run([TimerTrigger("0 */15 * * * *")]TimerInfo myTimer, TraceWriter log)
2017-09-08 18:38:09 +02:00
{
log.Info($"C# Timer trigger function executed at: {DateTime.Now}");
}
}
}