HangfireIO / HangfireIO/Hangfire

How to get schedule settings from cron expression?

Open
#2,347 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

So, we're using Hangfire and it's working great.

But I need to create a user interface for scheduling tasks. I have no problem creating the HTML elements for this interface. But how to populate them from a cron expression?

I found [Cronos](https://github.com/HangfireIO/Cronos), which will parse a cron expression. But it doesn't expose the schedule indicated by the expression. It will only tell you things like when is the next occurrence for that schedule.

Does anyone know of any way to get the underlying data structures associated with a cron expression so that I can populate HTML elements so the user can edit the schedule?

Contributor guide

Open the contributing guide

Research direction

The issue names Hangfire, Cronos, and an HTML scheduling interface but no repository files or tests. Start by reviewing how recurring schedules are represented and what Cronos exposes; completion would be a documented, supported path for obtaining editable schedule data, or a clear statement that the requested conversion is not available.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.