mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 02:52:50 -05:00
azure functions project
This commit is contained in:
17
util/Function/KeepAlive.cs
Normal file
17
util/Function/KeepAlive.cs
Normal file
@ -0,0 +1,17 @@
|
||||
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}");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user