Skip to content

Commit

Permalink
Use correct property (do Get-DbaAgentSchedule)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasjordan committed Dec 28, 2023
1 parent b4ce4b3 commit a8b79fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/Get-DbaAgentSchedule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function Get-DbaAgentSchedule {
if ($currentschedule.FrequencyTypes -notin 64, 128) {

# Check the subday types for minutes or hours i.e.
if ($currentschedule.FrequencySubDayInterval -in 0, 1) {
if ($currentschedule.FrequencySubDayTypes -in 0, 1) {
$description += "at $startTime. "
} else {

Expand Down

0 comments on commit a8b79fd

Please sign in to comment.