Is there a standard / base-independent method for requesting pending tasks based on specific fields?
For example, I have a task that should run once after the โlast user interactionโ, and I would like to implement it somehow like:
def user_changed_content(): task = find_task(name="handle_content_change") if task is None: task = queue_task("handle_content_change") task.set_eta(datetime.now() + timedelta(minutes=5)) task.save()
Or is it easier to connect directly to the storage server?
python celery
David wolever
source share