hacknight
hacknight copied to clipboard
Email notification
-
send_newsletter.py
should be run as cron job like
* 23 * * * cd /path/to/hacknight/repo && python send_newsletter.py production
So I did git push -f
, before that author name and email was reset with the help of http://stackoverflow.com/questions/3042437/change-commit-author-at-one-specific-commit. This has side effects. All comments to this pull request is gone. So its better have wrong author name and email and move on.
Comments
Jace: @kracekumar you have to pop before executing. Also, where is this function getting called from so as to not have a request context?
Kracekumar: @ jace : Function is called from main
, send_newsletter.py
is intended to run as cron job.
There was only one comment, so it's okay to lose it.