Subversion Repositories SmartDukaan

Rev

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

Rev 24241 Rev 24256
Line 1... Line 1...
1
package com.smartdukaan.cron;
1
package com.smartdukaan.cron;
2
 
2
 
-
 
3
import java.time.LocalDateTime;
-
 
4
import java.time.Month;
3
import java.util.List;
5
import java.util.List;
4
import java.util.Properties;
6
import java.util.Properties;
5
 
7
 
6
import org.apache.logging.log4j.LogManager;
8
import org.apache.logging.log4j.LogManager;
7
import org.apache.logging.log4j.Logger;
9
import org.apache.logging.log4j.Logger;
Line 120... Line 122...
120
				scheduledTasks.processScheme();
122
				scheduledTasks.processScheme();
121
				System.exit(0);
123
				System.exit(0);
122
			}
124
			}
123
			if (args.containsOption("4")) {
125
			if (args.containsOption("4")) {
124
				scheduledTasks.evaluateExcessSchemeOut();
126
				scheduledTasks.evaluateExcessSchemeOut();
-
 
127
			}
-
 
128
			if (args.containsOption("5")) {
-
 
129
				int offset = Integer.parseInt(args.getOptionValues("offset").get(0));
-
 
130
				scheduledTasks.processScheme(offset);
125
				System.exit(0);
131
				System.exit(0);
126
			}
132
			}
127
 
133
 
128
		}
134
		}
129
 
135