Global Properties Replacing Chronoman

7 votes

What I would like is to have a System Property designated for Chronoman Calculations. (Something like [[$Calulate Date]]). This new property type will require a new text field in the Global Property screen for "Rules". These rules will support all of the same directives as Chronoman. Example:

Name: $Calculate Date Last Working Day of Month yyyymmdd
Documentation: This property finds the last day of the current month.
Value: yyyymmdd
Rule:
SET_FORMAT_STRING, yyyymmdd
d,1
d,-1
FIND_MONTH_BEGIN
FIND_WORKING_DAY_BACKWARD
The Schedule used to determine which dates are non-working/holidays will be the Schedule the Job containing the [[$Calculate Date Last Working Day of Month yyyymmdd]] token unless specified in the Rule. The Base Date will be the Schedule Date of the Job containing the [[$Calculate Date Last Working Day of Month yyyymmdd]] token unless specified in the rule.
(I know chronoman has an =b Command Line parameter to pass the base date. I'm assuming it has a control file direct

Declined OpCon Suggested by: Hidden identity Upvoted: 27 Jan, '21 Comments: 0

Comments: 0