-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Labels
.NETPull requests that update .net codePull requests that update .net codeBugSomething isn't workingSomething isn't working
Description
Package
Sentry
.NET Flavor
.NET
.NET Version
9.0.203
OS
Windows
OS Version
Windows 11
Development Environment
Rider 2024 (Windows)
SDK Version
5.14.0
Self-Hosted Sentry Version
No response
Workload Versions
Installed Workload Id Manifest Version Installation Source
UseSentry or SentrySdk.Init call
builder.WebHost.UseSentry(options =>
{
options.UseOpenTelemetry();
options.EnableScopeSync = true;
});Steps to Reproduce
Calling the method Interval with a cron job set to run every x minutes, starting at minute y, does not work.
var checkInId = _hub.CaptureCheckIn(monitorSlug, CheckInStatus.InProgress, configureMonitorOptions: options => {
options.Interval("12/5 22 * * *");
});Expected Result
The ability to set a cron interval that doesn't start with '*' but with any other number.
Valid crons:
12/5 22 * * *0 2/4 * * *1/5 2/4 * * *
Actual Result
The exception: System.ArgumentException: The provided crontab does not match the expected format of '* * * * *' translating to 'minute', 'hour', 'day of the month', 'month', and 'day of the week'. is thrown.
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net codeBugSomething isn't workingSomething isn't working
Projects
Status
Done
Status
No status
