-
Notifications
You must be signed in to change notification settings - Fork 163
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
community.windows.win_scheduled_task - run_on_last_week_of_month isn't working #414
Comments
@jborean93 do you have any idea why this isn't working? |
The code is setting community.windows/plugins/modules/win_scheduled_task.ps1 Lines 634 to 638 in 0f1082c
If I change the order to have |
The PR #422 includes the changes I mentioned. |
SUMMARY
The module "community.windows.win_scheduled_task" isn't behaving correctly if the parameter "run_on_last_week_of_month" has been set to true. This parameter won't get set within the created task of the Windows Task Scheduler.
ISSUE TYPE
COMPONENTS
STEPS TO REPRODUCE
Using the following task to create a task inside the Windows Task Scheduler:
The task will get created, but the "last" trigger isn't set to true, regardless which value the "run_on_last_week_of_month" parameter has.
The actual result should be: Task runs every second AND last Monday in June.
The text was updated successfully, but these errors were encountered: