ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
37 stars 4 forks source link

Some Cron shcedules throwing Object reference error #1816

Closed memphisraynz closed 1 year ago

memphisraynz commented 1 year ago

Steps to Reproduce

Create a Cron schedule using the expression '0 23 L ' causes a Object reference error. After updating to the latest version the schedules were removed.

Expected behavior

Using this as a reference (https://github.com/bradymholt/cron-expression-descriptor) expecting the schedule to be obeyed

Actual behavior

expressions causing a Object reference error.

Environment data

Windows Server 2019 PSU 3.6.1

Visuals

firefox_eiGIuDEUJI

adamdriscoll commented 1 year ago

We use Chronos (part of hangfire) for scheduling. You can accomplish this schedule like this: 0 23 L * *

image

https://github.com/HangfireIO/Cronos