Update Runtime Production¶
Task Name¶
updateRuntimeProduction
Parameters¶
-beginDate Converted to an InstiHire month and year, so the actual day of the month is only used to select the correct month. Defaults to current month and year, if not specified.
-endDate Converted to an InstiHire month and year, so the actual day of the month is only used to select the correct month. Defaults to four months after the beginning month and year, if not specified.
Purpose¶
This tasks updates all runtime production for all contract trades working in the specified time period. This task actually sends commands to the message queue, one for each trade that should be updated.
Schedule¶
12:35AM every day
Command¶
$ bin/batch-jobs -tasks updateRuntimeProduction
$ bin/batch-jobs -tasks updateRuntimeProduction -beginDate '2016-01-01'
Expected Output¶
An e-mail is sent to the InstiHire administrators with the following content
Sent commands to update ${commands.size()} trades
Note: the number above most like will not equal the total of the trades in the months because commands are generated for a given trade one time not once for each month