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
I have long running task (mailing list). My function fetch all recipients and send simple notify, then set flag and then send status. On test stage with 2 recipients it doesn't go till end. Steps:
Started from admin
In log I see 17:32:14 default: Job OK
Check mailbox for message - nothing
Check field with status - false (must be true)
Check mailbox for status message - nothing
So, why Job OK but function with task doesn't executed?
My environment
Django==1.6.6
django-rq==0.8.0
The text was updated successfully, but these errors were encountered:
The only partial solution that I found with django is to store a record on the db with creation time and some status(pending, executed, error) and enqueuing the job and then run a cron job with a django managament command to manually check how much time passed after object creation and if it's still pending and then enqueue the job again expecting some worker take and proccess it.
Hello!
I have long running task (mailing list). My function fetch all recipients and send simple notify, then set flag and then send status. On test stage with 2 recipients it doesn't go till end. Steps:
17:32:14 default: Job OK
false
(must betrue
)So, why Job OK but function with task doesn't executed?
My environment
The text was updated successfully, but these errors were encountered: