File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed
src/main/java/com/gutotech/loteriasapi/consumer Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -18,43 +18,14 @@ public class ScheduledConsumer {
1818 private LoteriasUpdate loteriasUpdate ;
1919
2020 @ Scheduled (cron = "0 0 12 * * MON-SAT" , zone = zone )
21- public void checkForNewResults12 () {
22- checkForUpdates ();
23- }
24-
2521 @ Scheduled (cron = "0 0 21 * * MON-SAT" , zone = zone )
26- public void checkForNewResults21 () {
27- checkForUpdates ();
28- }
29-
3022 @ Scheduled (cron = "0 15 21 * * MON-SAT" , zone = zone )
31- public void checkForNewResults2115 () {
32- checkForUpdates ();
33- }
34-
3523 @ Scheduled (cron = "0 0 22 * * MON-SAT" , zone = zone )
36- public void checkForNewResults22 () {
37- checkForUpdates ();
38- }
39-
4024 @ Scheduled (cron = "0 10 23 * * MON-SAT" , zone = zone )
41- public void checkForNewResults2310 () {
42- checkForUpdates ();
43- }
44-
4525 @ Scheduled (cron = "0 20 0 * * MON-SAT" , zone = zone )
46- public void checkForNewResults0020 () {
47- checkForUpdates ();
48- }
49-
5026 @ Scheduled (cron = "0 0 1 * * MON-SAT" , zone = zone )
51- public void checkForNewResults01 () {
52- checkForUpdates ();
53- }
54-
5527 public void checkForUpdates () {
5628 logger .info ("Checking for updates" );
57-
5829 try {
5930 loteriasUpdate .checkForUpdates ();
6031 logger .info ("Finished checking for updates" );
You can’t perform that action at this time.
0 commit comments