org.sape.carbon.services.scheduler
Interface FixedRateTaskConfiguration

All Superinterfaces:
BaseTaskConfiguration, Configuration

public interface FixedRateTaskConfiguration
extends BaseTaskConfiguration

This is the configuration interface used to create fixed rate tasks within the Scheduler Service. Fixed rate tasks are scheduled to execute at fixed times (e.g. every hour on the hour or every day at 3:30 AM). Available rates are mintutely, hourly, daily, weekly, monthly (every 30 days), and annually (every 365 days). The same task can be scheduled multiple times to achieve rates in between (e.g. twice a day). If the frequency of the task execution is more important than when the task executes, a fixed delay task may be more appropriate. Also see java.util.Timer for a definition of fixed rate.

Valid values for Minute are 0 to 59 inclusive. Valid values for Hour are 0 to 23 inclusive (note no AM or PM). Valid values for DayOfMonth are 1 to 31 inclusive. Month is specified by org.sape.carbon.core.util.calendar.MonthEnum. DayOfWeek is specified by org.sape.carbon.core.util.calendar.DayOfWeekEnum.

The scheduling behavior of FixedRateTasks are as follows: