Skip to content

Enhance cron handling for MaintenancePlan#578

Open
yourlastnamesoundslikeatypeofpasta wants to merge 1 commit into
mainfrom
codex/parse-and-validate-cron-strings
Open

Enhance cron handling for MaintenancePlan#578
yourlastnamesoundslikeatypeofpasta wants to merge 1 commit into
mainfrom
codex/parse-and-validate-cron-strings

Conversation

@yourlastnamesoundslikeatypeofpasta

Copy link
Copy Markdown
Owner

Summary

  • parse and validate all five cron fields
  • map cron to scheduled task triggers using -DaysOfWeek and -DaysInterval
  • add tests for new cron parsing logic

File Citations

  • src/MaintenancePlan/Public/Schedule-MaintenancePlan.ps1【F:src/MaintenancePlan/Public/Schedule-MaintenancePlan.ps1†L25-L116】
  • tests/MaintenancePlan.Tests.ps1【F:tests/MaintenancePlan.Tests.ps1†L44-L75】

Test Results

  • Invoke-Pester -Configuration ./PesterConfiguration.psd1 (failed due to missing modules and environment issues)【a7a4fa†L1-L74】

https://chatgpt.com/codex/tasks/task_e_68474e8e67f0832cae1d3e45c8b7f18d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex enhancement New feature or request tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant