Skip to content

Commit 91abbb4

Browse files
committedMar 2, 2019
some new issues
1 parent af699d4 commit 91abbb4

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed
 

‎Debug/Debug.ps1

+9-8
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ Import-Module JobSetManager -Force
44
$Module = Get-Module JobSetManager
55
$TestJobsPath = Join-Path $(Join-Path $(Join-Path $($Module.path | split-path -parent) "Tests") "Jobs") "Jobs.ps1"
66
$Jobs = . $TestJobsPath
7-
#$mycredential = get-credential
7+
$mycredential = get-credential
88
$setjsmPeriodicReportSettingSplat = @{
9-
#SMTPCredential = $mycredential
9+
SMTPCredential = $mycredential
1010
Units = 'seconds'
11-
#SMTPPort = 587
12-
SendEmail = $false
11+
SMTPPort = 587
12+
SMTPUseSSL = $true
13+
SendEmail = $true
1314
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'
1718
FirstTestTrue = $true
1819
Length = 1
1920
To = $($mycredential.username)
2021
}
2122
$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

‎Issues.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
- [x] fix the notification settings
66
- [ ] make set-jsmperiodicreportsetting leave current values in place and only set what is specified each time it is used
77
- [ ] 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

0 commit comments

Comments
 (0)
Please sign in to comment.