Skip to content
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

Add a method into Period class to export a cron expression #23

Open
1 task
fecaletti opened this issue May 18, 2024 · 0 comments
Open
1 task

Add a method into Period class to export a cron expression #23

fecaletti opened this issue May 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request feature Asking for a new feature

Comments

@fecaletti
Copy link

fecaletti commented May 18, 2024

Is your feature request related to a problem? Please describe.
No, it is a new feature to enable users to use this package with other cron-job related solutions like: https://github.com/agilord/cron

Describe the solution you'd like
I want to propose this package to have a method to export a cron expression for the respective period, in string type, so that we can create period jobs with cron-job packages directly from the created periods.

I think it would be really useful for scheduler applications.

Describe alternatives you've considered
Adding a public method into Period or PeriodGenerator class.
Create a Converter class to convert a Period into specific supported patterns, where one could be Cron Expression.

Additional context
None.


  • Search for Existing Issues: None
@fecaletti fecaletti added enhancement New feature or request feature Asking for a new feature labels May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature Asking for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants