BotSharp/src/Infrastructure/BotSharp.Core.Crontab/Abstraction/ICrontabSource.cs

15 lines
341 B
C#
Raw Normal View History

2025-01-16 21:57:50 +00:00
namespace BotSharp.Core.Crontab.Abstraction;
/// <summary>
/// Provide a cron source for the crontab service.
/// </summary>
public interface ICrontabSource
{
2025-01-31 16:37:04 +00:00
/// <summary>
/// Set to true if the cron is real-time like Change Data Capture (CDC).
/// </summary>
bool IsRealTime => false;
2025-01-16 21:57:50 +00:00
CrontabItem GetCrontabItem();
}