Neokernel API

ScheduledAgent Class

Abstract implementation of a scheduled agent, or an ISchedulable agent that wakes up periodically at the dates and times specified by it's schedule prop.

This agent implements ISchedulable; it creates and uses a Schedule using the value of it's schedule prop to initialize the Schedule. The schedule prop must be a valid Schedule string, for instance:

starting 10/31/2003 every 2h until 10/20/2004
starting 10/31/2003 between 10:00:00 and 11:00:00 every 20s until 12/01/2003
between 0:0:0 and 23:59:59 every 5m

SceduledAgents all have the following prop:
schedule
Specifies the schedule that specifies when this Agent will wake up.
 Schedule Syntax:

 date = mm/dd/yyyy
 time = hh:mm:ss
 [starting startDateTime]
 [[every n[y|m|w|d]] | [on [[SU][MO][TU][WE][TH][FR][SA] | [startDay-endDay]]]]
 [[between startTime-endTime every n[h|m|s]] | [at time1,time2,time3]]
 [until endDateTime]
 

For a list of all members of this type, see ScheduledAgent Members .

System.Object
   Props
      Agent
         ScheduledAgent
            EmailReporter
            ReceivePOP3EmailAgent
            SessionReaper

public abstract class ScheduledAgent : Agent, ISchedulable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: com.neokernel.nk

Assembly: Neokernel (in Neokernel.exe)

See Also

ScheduledAgent Members | com.neokernel.nk Namespace | Schedule