fix the script

main
eric 2023-10-23 13:39:32 -04:00
parent a33a48abfd
commit 20cae92a30
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ Bulk download
</h2> </h2>
<p> <p>
A zipped CSV file of all the active urls and the results of our most recent check is available at:<br> A zipped CSV file of all the active urls and the results of our most recent check is available at:<br>
<a href="/static/doab_checks.csv.zip">https://doab-check.ebookfoundation.org/static/doab_checks.csv.zip</a>. <br>This file is updated roughly once a day. <a href="/static/doab_checks.csv.zip">https://doab-check.ebookfoundation.org/static/doab_checks.csv.gz</a>. <br>This file is updated roughly once a day.
</p> </p>
</div> </div>
</div> </div>

View File

@ -4,4 +4,4 @@
cd /home/ubuntu/doab-check cd /home/ubuntu/doab-check
/home/ubuntu/.local/bin/pipenv run python manage.py dump_checks >> dump_checks.log /home/ubuntu/.local/bin/pipenv run python manage.py dump_checks >> dump_checks.log
gzip dump_checks.csv gzip dump_checks.csv
mv dump_checks.zip static/dump_checks.zip mv dump_checks.zip static/dump_checks.csv.zip