| Cron-like alarm (minute, hour, day of month, month, day of week, year)
Repetitive when the year is not specified.
Examples:
Every minute: :
setCronParams(-1, -1, -1, -1, -1)
Every hour at 5: :
setCronParams(5, -1, -1, -1, -1, -1)
Lunch time:
setCronParams(00, 12, -1, -1, -1, -1)
On the first of every month at 9:30
setCronParams(30, 9, 1, -1, -1, -1)
On every Friday at 18:00
setCronParams(00, 18, -1, -1, Calendar.FRIDAY, -1)
2 years that this class was programmed !
setCronParams(00, 13, 1, Calendar.AUGUST, -1, 2001)
Parameters: minute - The minute code Parameters: hour - The hour code Parameters: dayOfMonth - The day of Month code Parameters: month - the Month to execute code Parameters: dayOfWeek - The day of week to execute code Parameters: year - The year to execute code throws: DBException - upon error |