Skip to content

Commit 3d45b20

Browse files
authored
Merge pull request #108461 from pkshultz/master
Update batch-automatic-scaling.md
2 parents e10cc54 + c7a5054 commit 3d45b20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/batch/batch-automatic-scaling.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ $isWorkingWeekdayHour = $workHours && $isWeekday;
664664
$TargetDedicatedNodes = $isWorkingWeekdayHour ? 20:10;
665665
$NodeDeallocationOption = taskcompletion;
666666
```
667+
`$curTime` can be adjusted to reflect your local time zone by adding `time()` to the product of `TimeZoneInterval_Hour` and your UTC offset. For instance, use `$curTime = time() + (-6 * TimeInterval_Hour);` for Mountain Daylight Time (MDT). Keep in mind that the offset would need to be adjusted at the start and end of daylight saving time (if applicable).
667668

668669
### Example 2: Task-based adjustment
669670

0 commit comments

Comments
 (0)