public class RemoveWOWeatherAlertCronTask extends SimpleCronTask
Constructor and Description |
---|
RemoveWOWeatherAlertCronTask() |
Modifier and Type | Method and Description |
---|---|
void |
cronAction()
This is the CORE METHOD of this class.
|
void |
init()
Invoked by the CronTaskManager when the class is instantiated.
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameters, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, isOKToRun, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, start, stop
public void init() throws MXException
SimpleCronTask
runAsUserInfo
.
Performs a silent login via SecurityService.init
in interface CronTask
init
in class SimpleCronTask
MXException
SecurityService.authenticateUser(String, boolean)
public void cronAction()
SimpleCronTask
cronAction
in interface CronTask
cronAction
in class SimpleCronTask