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

Can a task reschedule itself? If yes, how does this affect dependent tasks #1283

Closed
MW3000 opened this issue Jun 25, 2020 · 4 comments
Closed

Comments

@MW3000
Copy link

MW3000 commented Jun 25, 2020

I have tasks that work with web resources. If a web-server is not reachable when the task is running, can the task reschedule itself and rerun after a certain time? If so, how?

If this is possible and the task has dependent tasks, how does rescheduling the task affect its dependent tasks?

@selwin
Copy link
Collaborator

selwin commented Jun 28, 2020

Dependent tasks will only execute after successful execution of task it depends on.

RQ supports scheduled job execution, but there's currently no way to configure retries on failed job execution in RQ (although I plan on working on it soon-ish).

@selwin selwin closed this as completed Jun 28, 2020
@MW3000
Copy link
Author

MW3000 commented Jun 29, 2020

but there's currently no way to configure retries on failed job execution in RQ (although I plan on working on it soon-ish).

@selwin I look forward to this feature. It would come in very handy.

@inactivist
Copy link

@selwin wrote:

Dependent tasks will only execute after successful execution of task it depends on.

RQ supports scheduled job execution, but there's currently no way to configure retries on failed job execution in RQ (although I plan on working on it soon-ish).

I'd like to assist with this if possible. Is there a feature branch in the works?

@adamb70
Copy link

adamb70 commented Jul 24, 2020

@inactivist Looks like this is being actively developed now #1299.

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

4 participants