Class CronAgent

  • All Implemented Interfaces:
    ICronService

    public class CronAgent
    extends java.lang.Object
    implements ICronService
    The cron agent is an agent based implementation of unix cron. Allows for specifying time pattern and a job. The time pattern will be checked every minute and the job will be executed if the pattern matches. The pattern corresponds to the way unix cron patterns are defined: * * * * * Min Hour Day of Month Month Mo-Fr 0-59 0-23 1-31 1-12 0-6 Specification allows for: - wildcard: * (any value) - value: 1 - values: 2,3,4 - range: 1-5 - steps: *\/5 (every 5) - combined patterns: p1|p2|p3
    • Field Detail

      • realtime

        protected boolean realtime
        Argument if realtime should be used.
      • lookahead

        protected long lookahead
        The agent lookahead.
      • useworkeragent

        protected boolean useworkeragent
        The agent lookahead.
    • Constructor Detail

      • CronAgent

        public CronAgent()