Read, edit and execute scheduled jobs
Namespace:
EPiServer.DataAbstractionAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
[SerializableAttribute] public class ScheduledJob |
Remarks
The best way to create a custom scheduled job is to use the ScheduledPlugInAttribute as it will automatically generate a settings page in admin mode.
All dates exposed by ScheduledJob are in local time, but they will be saved to the database as UTC dates.
Examples
Example that demonstrates listing all available jobs.
ScheduledJobCollection jobs = ScheduledJob.List(); foreach (ScheduledJob job in jobs) Response.Write("Name=" + job.Name);