Subversion Repositories SmartDukaan

Rev

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

Rev 34939 Rev 34948
Line 1... Line 1...
1
package com.smartdukaan.cron.scheduled;
1
package com.smartdukaan.cron.scheduled;
2
 
2
 
3
import com.smartdukaan.cron.migrations.RunOnceTasks;
3
import com.smartdukaan.cron.migrations.RunOnceTasks;
4
import com.smartdukaan.cron.monitored.NagiosMonitorTasks;
4
import com.smartdukaan.cron.monitored.NagiosMonitorTasks;
5
import com.smartdukaan.cron.properties.WriteToPropertiesFile;
5
import com.smartdukaan.cron.properties.WriteToPropertiesFile;
-
 
6
import com.smartdukaan.cron.scheduled.ambreports.AbmReportSender;
6
import com.smartdukaan.cron.scheduled.leadsync.LeadSyncRunner;
7
import com.smartdukaan.cron.scheduled.leadsync.LeadSyncRunner;
7
import com.smartdukaan.cron.scheduled.ordertracking.OrderTrackingService;
8
import com.smartdukaan.cron.scheduled.ordertracking.OrderTrackingService;
8
import com.smartdukaan.cron.scheduled.purchaseorder.POScheduler;
9
import com.smartdukaan.cron.scheduled.purchaseorder.POScheduler;
9
import com.spice.profitmandi.common.model.ProfitMandiConstants;
10
import com.spice.profitmandi.common.model.ProfitMandiConstants;
10
import com.spice.profitmandi.dao.service.PurSaleService;
11
import com.spice.profitmandi.dao.service.PurSaleService;
Line 31... Line 32...
31
 
32
 
32
    @Autowired
33
    @Autowired
33
    private ScheduledTasksTest scheduledTasksTest;
34
    private ScheduledTasksTest scheduledTasksTest;
34
 
35
 
35
    @Autowired
36
    @Autowired
-
 
37
    private AbmReportSender abmReportSender;
-
 
38
 
-
 
39
    @Autowired
36
    private LeadSyncRunner leadSyncRunner;
40
    private LeadSyncRunner leadSyncRunner;
37
 
41
 
38
    @Autowired
42
    @Autowired
39
    private Reconciliation reconciliation;
43
    private Reconciliation reconciliation;
40
 
44
 
Line 127... Line 131...
127
    }
131
    }
128
    @Scheduled(cron = "0 30 4 * * *")
132
    @Scheduled(cron = "0 30 4 * * *")
129
    public void createFofoSmartCartSuggestion() throws Exception {
133
    public void createFofoSmartCartSuggestion() throws Exception {
130
        scheduledTasksTest.createFofoSmartCartSuggestion();
134
        scheduledTasksTest.createFofoSmartCartSuggestion();
131
    }
135
    }
-
 
136
    @Scheduled(cron = "0 30 5 * * *")
-
 
137
    public void sendAbmSmartCartReport() throws Exception {
-
 
138
        abmReportSender.sendAbmSmartCartReport();
-
 
139
    }
132
 
140
 
133
    @Scheduled(cron = "0 0 10,15,17 * * *")
141
    @Scheduled(cron = "0 0 10,15,17 * * *")
134
    public void sendIndentTertiaryReport() throws Exception {
142
    public void sendIndentTertiaryReport() throws Exception {
135
 
143
 
136
        LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
144
        LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();