Skip to content

Commit

Permalink
Update cron jobs to create RSS and Atom feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
knatten committed Feb 21, 2025
1 parent 152da66 commit 8b8a48e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployment/dreamhost/cronjobs/dump_published.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

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

0 comments on commit 8b8a48e

Please sign in to comment.