mirror of
https://github.com/C9Glax/tranga.git
synced 2025-07-04 18:04:16 +02:00
15 lines
467 B
C#
15 lines
467 B
C#
using API.Schema.NotificationsContext;
|
|
|
|
namespace API.Workers;
|
|
|
|
public class SendNotificationsWorker(IEnumerable<BaseWorker>? dependsOn = null)
|
|
: BaseWorkerWithContext<NotificationsContext>(dependsOn), IPeriodic
|
|
{
|
|
public DateTime LastExecution { get; set; } = DateTime.UtcNow;
|
|
public TimeSpan Interval { get; set; } = TimeSpan.FromMinutes(1);
|
|
protected override BaseWorker[] DoWorkInternal()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
} |