| Line 4... |
Line 4... |
| 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.leadsync.LeadSyncRunner;
|
6 |
import com.smartdukaan.cron.scheduled.leadsync.LeadSyncRunner;
|
| 7 |
import com.smartdukaan.cron.scheduled.ordertracking.OrderTrackingService;
|
7 |
import com.smartdukaan.cron.scheduled.ordertracking.OrderTrackingService;
|
| 8 |
import com.smartdukaan.cron.scheduled.purchaseorder.POScheduler;
|
8 |
import com.smartdukaan.cron.scheduled.purchaseorder.POScheduler;
|
| - |
|
9 |
import com.spice.profitmandi.common.model.ProfitMandiConstants;
|
| 9 |
import com.spice.profitmandi.dao.service.PurSaleService;
|
10 |
import com.spice.profitmandi.dao.service.PurSaleService;
|
| 10 |
import org.apache.logging.log4j.LogManager;
|
11 |
import org.apache.logging.log4j.LogManager;
|
| 11 |
import org.apache.logging.log4j.Logger;
|
12 |
import org.apache.logging.log4j.Logger;
|
| 12 |
import org.springframework.beans.factory.annotation.Autowired;
|
13 |
import org.springframework.beans.factory.annotation.Autowired;
|
| 13 |
import org.springframework.scheduling.annotation.Scheduled;
|
14 |
import org.springframework.scheduling.annotation.Scheduled;
|
| Line 794... |
Line 795... |
| 794 |
* @Scheduled(cron = "0 0 9 * * *") public void onBoardingDocumentsPending()
|
795 |
* @Scheduled(cron = "0 0 9 * * *") public void onBoardingDocumentsPending()
|
| 795 |
* throws Throwable { log.info("startTime" + LocalDateTime.now());
|
796 |
* throws Throwable { log.info("startTime" + LocalDateTime.now());
|
| 796 |
* onBoardingRelatedSchelduleTask.onBoardingDocumentsPending();
|
797 |
* onBoardingRelatedSchelduleTask.onBoardingDocumentsPending();
|
| 797 |
* log.info("endTime" + LocalDateTime.now()); }
|
798 |
* log.info("endTime" + LocalDateTime.now()); }
|
| 798 |
*/
|
799 |
*/
|
| - |
|
800 |
|
| - |
|
801 |
@Scheduled(cron = "0 0 12 * * *")
|
| - |
|
802 |
public void bidConfirmation() throws Throwable {
|
| - |
|
803 |
log.info("running bid cron at 12:00PM");
|
| - |
|
804 |
runOnceTasks.processBids(ProfitMandiConstants.BID_CRON_ENUM.YESTERDAY);
|
| - |
|
805 |
}
|
| - |
|
806 |
|
| - |
|
807 |
@Scheduled(cron = "0 0 18 * * *")
|
| - |
|
808 |
public void processLiquidationBids() throws Throwable {
|
| - |
|
809 |
log.info("running bid cron at 06:00PM");
|
| - |
|
810 |
runOnceTasks.processBids(ProfitMandiConstants.BID_CRON_ENUM.TODAY);
|
| - |
|
811 |
}
|
| - |
|
812 |
|
| - |
|
813 |
@Scheduled(cron = "0 30 19 * * *")
|
| - |
|
814 |
public void bidPurchaseOrder() throws Throwable {
|
| - |
|
815 |
log.info("running bid cron at 07:30PM");
|
| - |
|
816 |
runOnceTasks.processBids(ProfitMandiConstants.BID_CRON_ENUM.TODAY);
|
| - |
|
817 |
}
|
| 799 |
}
|
818 |
}
|