Package | Description |
---|---|
io.stallion.jobs |
Modifier and Type | Method and Description |
---|---|
static Schedule |
Schedule.daily()
Get a schedule instance that will run every night, at some random minute
during the 5AM hour
|
Schedule |
Schedule.daysBiweekly(Long startingAt,
DayOfWeek... days)
Runs the given days of the week, every other week.
|
Schedule |
Schedule.daysOfMonth(Integer... daysOfMonth)
Set the days of the month on which the schedule is to run.
|
Schedule |
Schedule.daysOfWeek(DayOfWeek... days)
Set the days of the week on which the task is to run.
|
Schedule |
Schedule.daysOfWeekMonth(DayOfWeek dayOfWeek,
Integer... weeksOfMonth)
Set the day of the week and which weeks of the month combination
the schedule is to match.
|
Schedule |
Schedule.everyDay()
Set the task to run every single day
|
Schedule |
Schedule.everyHour()
Set the task to run each hour of the day
|
Schedule |
Schedule.everyMinute()
Set the schedule to run every minute
|
Schedule |
Schedule.everyMonth()
Runs every month
|
Schedule |
JobDefinition.getSchedule() |
static Schedule |
Schedule.hourly()
Run at the top of every hour
|
Schedule |
Schedule.hours(Integer... hours)
Set which hours of the day the task should run at
|
Schedule |
Schedule.minutes(Integer... minutes)
Set which minutes of the hour the task will run at
|
Schedule |
Schedule.months(Integer... months)
Set to runs on the given month(s)
|
static Schedule |
Schedule.paydays()
Get a schedule instance that will run on at 5AM UTC on the second and fourth Friday, every month
|
Schedule |
Schedule.randomMinute()
Set the schedule to run on a random minute every hour
|
Schedule |
Schedule.timezone(String timeZoneId) |
Schedule |
Schedule.verify()
Verify that this is a valid schedule.
|
Modifier and Type | Method and Description |
---|---|
JobDefinition |
JobDefinition.setSchedule(Schedule schedule) |
Copyright © 2016. All rights reserved.