Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added restarting of gunicorn servers after dumping database to improv…

…e end user experience.
  • Loading branch information...
commit 3dc744daf3ca4381adaf25ab80b6800b9980b576 1 parent 8648603
@nwinklareth nwinklareth authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  scripts/
3  scripts/
@@ -35,4 +35,7 @@ echo "Dumping database for `date`"
${MANAGE} dumpdata countyapi > ${DB_BACKUPS_DIR}/${DB_BACKUP_FILE}
(cd ${DB_BACKUPS_DIR} && gzip ${DB_BACKUP_FILE} && ln -sf ${DB_BACKUP_FILE}.gz latest.json.gz)
+echo "Restart gunicorn servers for better user experience."
+sudo service cookcountyjail restart
echo "Cook County Jail scraper V1.0 finished at `date`"
Please sign in to comment.
Something went wrong with that request. Please try again.