@@ -49,7 +49,7 @@ public class AlarmCountPartsScheduled {
@Autowired
private AlarmHistoryService alarmHistoryService;
- @Scheduled(cron = "* 41 10 ? * 3")
+ /*@Scheduled(cron = "* 41 10 ? * 3")*/
public boolean doTask() {
try {
@@ -48,7 +48,7 @@ public class AlarmCountStatScheduled {
- @Scheduled(cron = "0 30 0 ? * *")
+ /*@Scheduled(cron = "0 30 0 ? * *")*/
if (!custom){
@@ -17,7 +17,7 @@ public class CreateTablesScheduled {
@Value("${tablespace}")
String tablespace;
//秒 分 时 日 月 周
- @Scheduled(cron="0 34 11 * * 5")
+ /*@Scheduled(cron="0 34 11 * * 5")*/
public void doTask(){
Calendar instance = Calendar.getInstance();
//查看当前时间的下月是否有表,没有就创建
@@ -26,7 +26,7 @@ public class FaultStatScheduled {
private FaultStatisticWindturbineService faultStatisticWindturbineService;
- @Scheduled(cron = "0 20 0 ? * *")
+ /*@Scheduled(cron = "0 20 0 ? * *")*/
public String doTask() throws Exception {
if (!fault) {
return null;