project-history-flush-all.sh 364 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. set -eu
  3. echo "---------------------------------"
  4. echo "Flush all project-history changes"
  5. echo "---------------------------------"
  6. date
  7. source /etc/container_environment.sh
  8. source /etc/overleaf/env.sh
  9. cd /overleaf/services/project-history && /sbin/setuser www-data node scripts/flush_all.js
  10. echo "Done flushing all project-history changes"