TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Scheduling morning emails with Python and Celery

56 点作者 deepakprakash超过 12 年前

6 条评论

manish_gill超过 12 年前
Isn't the ScheduleTime class doing redundant work? Why bother keeping a dictionary, dealing with ints and strings when you can directly use strftime/strptime?<p>Except for the friday/fri thing, which, to be honest, I don't see the point of. I'd rather have uniformity in my code.
评论 #5227198 未加载
est超过 12 年前
alternatively: use uWSGI cron<p><a href="http://uwsgi-docs.readthedocs.org/en/latest/PythonDecorators.html#uwsgidecorators.cron" rel="nofollow">http://uwsgi-docs.readthedocs.org/en/latest/PythonDecorators...</a>
评论 #5226708 未加载
yeison超过 12 年前
Did anyone else read this title as: 'Scheduling morning meals with Python and Celery'?
评论 #5227658 未加载
clicks超过 12 年前
While we're on the topic -- there's also <a href="http://mailchimp.com/" rel="nofollow">http://mailchimp.com/</a> if you want to outsource the job of sending subscription e-mail.
th超过 12 年前
Would this create a problem around Daylight Saving Time until the user logs in again to reset their time offset?
评论 #5226612 未加载
ieze超过 12 年前
This doesn't handle daylight saving time.
评论 #5226591 未加载