执行没有启动任何预定作业。 它还剩下什么吗?
环境:
作业
@Singleton
public class TimerJob {
protected Logger logger = Logger.getLogger(getClass().getName());
@Schedule(hour = "23", minute = "59", persistent = true, info = "Hello programades")
public void execute() {
logger.info("Timer Job execution " + new Date());
}
@Schedule(second = "*/5", persistent = false, info = "Prova de programació")
public void executeTest() {
logger.info("Actuacio Job execution TEST" + new Date());
}
}