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

Support for Built-in/Persisted Job Parameters #354

Open
chris-farrell opened this issue Dec 15, 2023 · 1 comment
Open

Support for Built-in/Persisted Job Parameters #354

chris-farrell opened this issue Dec 15, 2023 · 1 comment

Comments

@chris-farrell
Copy link

chris-farrell commented Dec 15, 2023

Hi,

Possible to support the concept of built-in/persisted job parameters? E.g., with the ability to set them from the dashboard? I am thinking of something akin to the JobDataMap concept in Quartz. This would require the parameters to be persisted in the backing store.

For example, I want to supply a list of recipients that are different across multiple schedules of a particular job. As I understand, Coravel doesn't support this.

Edit: I've looked at Task Scheduling with Additional Parameters and I don't think it gives me exactly what I need.

@InteXX
Copy link

InteXX commented Apr 5, 2024

FYI a workaround I've been able to find for this is to fire a job at some regular interval, and then check within the job itself whether the current time is a time that you want it to actually do whatever it's supposed to do.

Those values can easily be stored in a database and displayed on a dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants