Skip to content

Commit 14f62f3

Browse files
committed
Update cron jobs to create RSS and Atom feeds
1 parent 9009508 commit 14f62f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deployment/dreamhost/cronjobs/dump_published.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
source $HOME/sites/cppquiz.org/venv/bin/activate || exit $?
44
python $HOME/sites/cppquiz.org/cppquiz/manage.py dump_published_questions > $HOME/static.cppquiz.org/published.json || exit $?
5+
python $HOME/sites/cppquiz.org/cppquiz/manage.py generate_feeds rss > $HOME/static.cppquiz.org/rss.xml || exit $?
6+
python $HOME/sites/cppquiz.org/cppquiz/manage.py generate_feeds atom > $HOME/static.cppquiz.org/atom.xml || exit $?
57

0 commit comments

Comments
 (0)