Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A job set to an inverval cannot be edited using the Powershell bConnect Module #42

Open
Th1sD0t opened this issue Jun 11, 2021 · 1 comment
Assignees

Comments

@Th1sD0t
Copy link

Th1sD0t commented Jun 11, 2021

Prior to placing the issue, please check following: (fill out each checkbox with an X once done)

  • [X ] I have understood that answers are voluntary and community-driven, and not commercial support.
  • [X ] I have verified that my issue has not been already answered in the past. I also checked previous issues.

Describe the bug
A job with interval set to every* cannot be updated using the powershell bConnect Module. The function "Edit-bConnectJob" will return "Invoke-bConnectPatch : IntervalType 'Every1stOfMonth' must contain all weekdays." although the Job object contains all weekdays.

To Reproduce
Steps to reproduce the behavior:

  1. Get a Job with interval set to "Every1stOfMonth"
  2. Edit a property, e.g. the priority by executing "$job.WindowsProperties.Priority = 250"
  3. Invoke the update by executing "Edit-bConnectJob -Job $job -IgnoreAssignments:$true"
  4. Receive the above mentioned error.

Expected behavior
The Job should be updated.

System information

Question Answer
My operating system Win10
baramundi Server Version 2020R2U1
PS-bConnect Version 20.1.0.5

Additional context
We checked that the Powershell Job Object contains a list of all weekdays.

@baramundi-lkersten baramundi-lkersten self-assigned this Feb 14, 2022
@T0biii
Copy link
Contributor

T0biii commented Apr 26, 2022

is related to: #64 (comment)
so it is already fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants