Class ScheduleAttribute
Defines a scheduled method with a given id and a cron expression If you want something to run every day at 16:00 you can use something like "0 16 * * *"
IMPORTANT: The seconds are OMITTED
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public sealed class ScheduleAttribute : Attribute
- Inheritance
-
ScheduleAttribute
- Inherited Members
Constructors
- ScheduleAttribute(SCHEDULE, string, CATCHUP)
Defines a scheduled method with a given id and a cron expression If you want something to run every day at 16:00 you can use something like "0 16 * * *"
IMPORTANT: The seconds are OMITTED