You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will there be any support for dynamically creating cron jobs after starting the worker as stated in #197 ?
It can be something like "ArqRedis.schedule_job()".
The text was updated successfully, but these errors were encountered:
I saw your comment and I believe I can help you with this issue. To address the need for dynamically creating cron jobs after the worker has started, I implemented a solution where I created a worker that periodically checks my database for new jobs to schedule.
Here’s a high-level overview of the approach:
Polling Mechanism: The worker periodically checks the database for any new jobs with a specific status, such as PENDING.
Job Creation: When it detects a job with the PENDING status, it creates a new job using enqueue_job.
By using this approach, you can dynamically create and schedule jobs based on the conditions and timing you need.
Will there be any support for dynamically creating cron jobs after starting the worker as stated in #197 ?
It can be something like "ArqRedis.schedule_job()".
The text was updated successfully, but these errors were encountered: