Subversion Repositories SmartDukaan

Rev

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

Rev 33445 Rev 33446
Line 43... Line 43...
43
import java.util.stream.Collectors;
43
import java.util.stream.Collectors;
44
 
44
 
45
@SpringBootApplication
45
@SpringBootApplication
46
//@EnableCaching
46
//@EnableCaching
47
@EnableScheduling
47
@EnableScheduling
-
 
48
 
48
@ComponentScan("com.smartdukaan.cron.*, com.spice.profitmandi.common.*")
49
@ComponentScan("com.smartdukaan.cron.*, com.spice.profitmandi.common.*")
49
public class Application implements ApplicationRunner {
50
public class Application implements ApplicationRunner {
50
 
51
 
51
    private static final Logger LOGGER = LogManager.getLogger(Application.class);
52
    private static final Logger LOGGER = LogManager.getLogger(Application.class);
52
 
53
 
Line 439... Line 440...
439
        if (args.containsOption("monthlyTargetForInternalTeam")) {
440
        if (args.containsOption("monthlyTargetForInternalTeam")) {
440
            scheduledTasks.monthlyTargetForInternalTeam();
441
            scheduledTasks.monthlyTargetForInternalTeam();
441
            System.exit(0);
442
            System.exit(0);
442
        }
443
        }
443
 
444
 
-
 
445
 
444
        if (args.containsOption("monthlyTargetForPartner")) {
446
        if (args.containsOption("monthlyTargetForPartner")) {
445
            scheduledTasks.monthlyTargetForPartner();
447
            scheduledTasks.monthlyTargetForPartner();
446
            System.exit(0);
448
            System.exit(0);
447
        }
449
        }
448
        if (args.containsOption("findAllLiveDemoBrandItemsByBillingDate")) {
450
        if (args.containsOption("findAllLiveDemoBrandItemsByBillingDate")) {