Subversion Repositories SmartDukaan

Rev

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

Rev 37159 Rev 37162
Line 953... Line 953...
953
    @Scheduled(cron = "0 0 0 * * *")
953
    @Scheduled(cron = "0 0 0 * * *")
954
    public void syncProductsToShopify() throws Exception {
954
    public void syncProductsToShopify() throws Exception {
955
        scheduledTasks.syncProductsToShopifyByWarehouseId(ProfitMandiConstants.WAREHOUSE_NAME_MAP.get("UP-WEST/NOIDA"));
955
        scheduledTasks.syncProductsToShopifyByWarehouseId(ProfitMandiConstants.WAREHOUSE_NAME_MAP.get("UP-WEST/NOIDA"));
956
    }
956
    }
957
 
957
 
-
 
958
    @Scheduled(cron = "0 0 6,18 * * *")
-
 
959
    public void syncInventoryToShopify() throws Exception {
-
 
960
        scheduledTasks.syncInventoryToShopifyByWarehouseId(ProfitMandiConstants.WAREHOUSE_NAME_MAP.get("UP-WEST/NOIDA"));
-
 
961
    }
-
 
962
 
958
    @Autowired
963
    @Autowired
959
    private WarehouseStockReconciliation warehouseStockReconciliation;
964
    private WarehouseStockReconciliation warehouseStockReconciliation;
960
 
965
 
961
    @Scheduled(cron = "0 30 5 * * *")
966
    @Scheduled(cron = "0 30 5 * * *")
962
    public void reconcileInventorySnapshot() throws Exception {
967
    public void reconcileInventorySnapshot() throws Exception {