Annotation Type ScheduledQuartzJob


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    @Deprecated
    public @interface ScheduledQuartzJob
    Deprecated.
    Replaced by vendor-neutral drop-in replacement ScheduledTask"
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String cron
      Deprecated.
      A cron-like expression, extending the usual UN*X definition to include triggers on the second as well as minute, hour, day of month, month and day of week.
      java.lang.String name
      Deprecated.
       
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean cluster
      Deprecated.
      If true the job will only run once in the Alfresco cluster by using the JobLockService
      java.lang.String cronProp
      Deprecated.
      A key to a property from alfresco-global.properties specifying a cron-like expression, extending the usual UN*X definition to include triggers on the second as well as minute, hour, day of month, month and day of week.
      java.lang.String group
      Deprecated.
       
    • Element Detail

      • cron

        java.lang.String cron
        Deprecated.
        A cron-like expression, extending the usual UN*X definition to include triggers on the second as well as minute, hour, day of month, month and day of week. e.g. "0 * * * * MON-FRI" means once per minute on weekdays (at the top of the minute - the 0th second).
        Returns:
        an expression that can be parsed to a cron schedule
      • name

        java.lang.String name
        Deprecated.
        Returns:
        the unique name of the Quartz job shown in JMX/admin page
      • group

        java.lang.String group
        Deprecated.
        Returns:
        the job group name, defaults to "DEFAULT"
        Default:
        "DEFAULT"
      • cronProp

        java.lang.String cronProp
        Deprecated.
        A key to a property from alfresco-global.properties specifying a cron-like expression, extending the usual UN*X definition to include triggers on the second as well as minute, hour, day of month, month and day of week. e.g. "0 * * * * MON-FRI" means once per minute on weekdays (at the top of the minute - the 0th second).
        Returns:
        an expression that can be parsed to a cron schedule. When not provided / not resolved, fallback to default cron expression.
        Default:
        ""
      • cluster

        boolean cluster
        Deprecated.
        If true the job will only run once in the Alfresco cluster by using the JobLockService
        Default:
        false