|
@@ -20,8 +20,8 @@ public class MyScheduledTask {
|
|
|
@Autowired
|
|
|
private IWeight iWeight;
|
|
|
|
|
|
-// @Scheduled(cron = "0 0/30 * * * ?")
|
|
|
- @Scheduled(cron = "0/10 * * * * ?")
|
|
|
+ @Scheduled(cron = "0 0/10 * * * ?")
|
|
|
+// @Scheduled(cron = "0/10 * * * * ?")
|
|
|
public void scheduledTask1() throws ParseException {
|
|
|
iWeight.getEggWeightDetails();
|
|
|
}
|