File tree 2 files changed +12
-9
lines changed
2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,20 @@ Import-Module JobSetManager -Force
4
4
$Module = Get-Module JobSetManager
5
5
$TestJobsPath = Join-Path $ (Join-Path $ (Join-Path $ ($Module.path | split-path - parent) " Tests" ) " Jobs" ) " Jobs.ps1"
6
6
$Jobs = . $TestJobsPath
7
- # $mycredential = get-credential
7
+ $mycredential = get-credential
8
8
$setjsmPeriodicReportSettingSplat = @ {
9
- # SMTPCredential = $mycredential
9
+ SMTPCredential = $mycredential
10
10
Units = ' seconds'
11
- # SMTPPort = 587
12
- SendEmail = $false
11
+ SMTPPort = 587
12
+ SMTPUseSSL = $true
13
+ SendEmail = $true
13
14
MissedIntervalTrue = $true
14
- # From = $mycredential.Username
15
- # Subject = 'JSM Test Processing Update'
16
- # SMTPServer = 'smtp.office365.com'
15
+ From = $mycredential.Username
16
+ Subject = ' JSM Test Processing Update'
17
+ SMTPServer = ' smtp.office365.com'
17
18
FirstTestTrue = $true
18
19
Length = 1
19
20
To = $ ($mycredential.username )
20
21
}
21
22
$reportSetting = Set-jsmPeriodicReportSetting @setjsmPeriodicReportSettingSplat
22
- Invoke-JSMProcessingLoop - JobDefinition $Jobs - SleepSecondsBetweenJobCheck 10 - Interactive - JobFailureRetryLimit 3 - Verbose # -periodicreportsetting $reportSetting -periodicreport
23
+ Invoke-JSMProcessingLoop - JobDefinition $Jobs - SleepSecondsBetweenJobCheck 10 - Interactive - JobFailureRetryLimit 3 - Verbose - periodicreportsetting $reportSetting - periodicreport
Original file line number Diff line number Diff line change 5
5
- [x] fix the notification settings
6
6
- [ ] make set-jsmperiodicreportsetting leave current values in place and only set what is specified each time it is used
7
7
- [ ] need a check for non-completed but no longer running JF jobs (JF = Job Framework, rightnow just poshrsjob)
8
- - [ ] Consider adding job variable tracking - created, removed, currently existing. and being able to temporarially suppress removal for T/S
8
+ - [ ] Consider adding job variable tracking - created, removed, currently existing. and being able to temporarially suppress removal for T/S
9
+ - [ ] fix Invoke-JSMProcessingLOop restartstopwatch parameter
10
+ - [ ] remove Invoke-JSMProcessingLOop retainjobfailures parameter
You can’t perform that action at this time.
0 commit comments