Django定时事件 [英] Django Timed Events

查看:76
本文介绍了Django定时事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安排事件发生在我的用户身上.有没有一种有效的方法可以轻松地在Python/Django中做到这一点?我不希望轮询优先级队列.

I want to schedule events to happen for my users. Is there an efficient way to do this in Python/Django easily? I'd prefer not to poll a priority queue.

谢谢!

我想澄清一下,这项工作是针对每位用户运行的,可能涉及成百上千的用户.

I want to clarify that this job is run per user, for potentially hundreds or thousands of users.

推荐答案

这可能会有所帮助:

Django-设置计划作业?

这篇关于Django定时事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆