1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
bitwarden-server/util/Function/KeepAlive.cs

18 lines
418 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")]
public static void Run(
[TimerTrigger("0 */15 * * * *")]TimerInfo myTimer,
TraceWriter log)
{
log.Info($"C# Timer trigger function executed at: {DateTime.Now}");
}
}
}