-
Notifications
You must be signed in to change notification settings - Fork 387
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
How to create an instant job? #509
Comments
@talexu I don't know if dkron will be the best tool for that use case but you can submit a job to be run in the next few seconds:
|
@Victorcoder Thank you for your reply. What I am going to develop is a cross-region job schedule system. Each job in a job chain may be run in different data center. |
@talexu For an implementation cross-region I would recommend using DynamoDB global table for the backend on AWS and configure 2 dkron clusters in an active-passive fashion, you can work something like that using tags and the proper configuration. |
Expected Behavior
Create a job, the job will run once immediately.
Actual Behavior
Create a disabled job, then invoke API to run the job, which means that I have to invoke two APIs (POST /jobs, POST /jobs/{job_name}) for instant job.
Specifications
The text was updated successfully, but these errors were encountered: