Subversion Repositories SmartDukaan

Rev

Rev 30361 | Rev 30390 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30361 Rev 30370
Line 522... Line 522...
522
		propertiesDetails.put("technoDate", Long.toString(secs));
522
		propertiesDetails.put("technoDate", Long.toString(secs));
523
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
523
		writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
524
 
524
 
525
	}
525
	}
526
 
526
 
527
	@Scheduled(fixedDelay = 240 * 1000)
527
	@Scheduled(fixedDelay = 60 * 1000)
528
	public void vivoImeiActivation() throws Throwable {
528
	public void vivoImeiActivation() throws Throwable {
529
		log.info("startTimevivoImeiActivation" + LocalDateTime.now());
529
		log.info("startTimevivoImeiActivation" + LocalDateTime.now());
530
 
530
 
531
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
531
		LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
532
		propertiesDetails.put("vivoImeiActivation", "0");
532
		propertiesDetails.put("vivoImeiActivation", "0");
Line 543... Line 543...
543
	}
543
	}
544
 
544
 
545
	@Autowired
545
	@Autowired
546
	private StandAlone standAlone;
546
	private StandAlone standAlone;
547
 
547
 
548
	@Scheduled(fixedDelay = 10 * 1000)
548
	@Scheduled(fixedDelay = 60 * 1000)
549
	public void oppo() throws Throwable {
549
	public void oppo() throws Throwable {
550
		standAlone.checkOppoImeiStatus();
550
		standAlone.checkOppoImeiStatus();
551
	}
551
	}
552
 
552
 
553
	@Scheduled(cron = "0 0 * * * *")
553
	@Scheduled(cron = "0 0 * * * *")