mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
18 lines
418 B
C#
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}");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|