TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Scheduling morning emails with Python and Celery

56 pointsby deepakprakashover 12 years ago

6 comments

manish_gillover 12 years ago
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 未加载
estover 12 years ago
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 未加载
yeisonover 12 years ago
Did anyone else read this title as: 'Scheduling morning meals with Python and Celery'?
评论 #5227658 未加载
clicksover 12 years ago
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.
thover 12 years ago
Would this create a problem around Daylight Saving Time until the user logs in again to reset their time offset?
评论 #5226612 未加载
iezeover 12 years ago
This doesn't handle daylight saving time.
评论 #5226591 未加载