mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[CE/SP] cron for daily runs of scripts/flush_all.js (#25575)
* [CE/SP] `cron` for daily runs of `scripts/flush_all.js` GitOrigin-RevId: 9616e99c01491e2a410601f4e33917ed47990b11
This commit is contained in:
14
server-ce/cron/project-history-flush-all.sh
Executable file
14
server-ce/cron/project-history-flush-all.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
echo "---------------------------------"
|
||||
echo "Flush all project-history changes"
|
||||
echo "---------------------------------"
|
||||
date
|
||||
|
||||
source /etc/container_environment.sh
|
||||
source /etc/overleaf/env.sh
|
||||
cd /overleaf/services/project-history && node scripts/flush_all.js
|
||||
|
||||
echo "Done flushing all project-history changes"
|
||||
Reference in New Issue
Block a user