Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Besides these needs, administrators will want to schedule certain tasks within the server as well. For example the server can be backed up using a trigger to offline then backup the server. We also need it for mandating password policy.

Quartz Integration

A single Quartz Scheduler would be started on ApacheDS core system startup with some configurable number of threads. This way the scheduler based capabilities are available even when networking is not enabled. Once started the scheduler would need to be shutdown on system shutdown.

...

With LDAP entries for storing jobs and triggers we're going to need a custom schema for scheduling information. The rest of this section defines the attributes and objectClasses that will be needed.

A job has the following attributes:

  • name
  • description
  • group
  • isDurable
  • isVolatile
  • isRecoverable
  • a Java Class
  • one or more triggers
  • data map entries: key value pairs

All triggers have the following attributes:

  • name
  • start time
  • stop time
  • group
  • job name
  • job group

A trigger has the following attributes if simple:

  • repeat count
  • repeat interval

A trigger has the following attributes if it is periodic using the quartz cron notation:

  • cron expression
No Format
Note

Don't forget to parameterize access to start and stop times for cron based triggers.

...