Skip to content

Commit c368667

Browse files
authored
Merge pull request #708 from getodk/ktuite/purge_subs
Change purge-forms script to general purge
2 parents 4420223 + 9b06d2a commit c368667

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

files/service/crontab

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
0 5 * * * root /usr/odk/upload-blobs.sh
2-
0 4 * * * root /usr/odk/purge-forms.sh
2+
0 4 * * * root /usr/odk/purge.sh
33
0 3 * * * root /usr/odk/run-analytics.sh
44
0 2 * * * root /usr/odk/process-backlog.sh
55
0 1 * * 0 root /usr/odk/reap-sessions.sh

files/service/scripts/purge-forms.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

files/service/scripts/purge.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh -eu
2+
3+
cd /usr/odk
4+
/usr/local/bin/node lib/bin/purge.js >/proc/1/fd/1 2>/proc/1/fd/2
5+

0 commit comments

Comments
 (0)