Skip to content

Commit

Permalink
Merge pull request #708 from getodk/ktuite/purge_subs
Browse files Browse the repository at this point in the history
Change purge-forms script to general purge
  • Loading branch information
ktuite authored Sep 18, 2024
2 parents 4420223 + 9b06d2a commit c368667
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion files/service/crontab
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
0 5 * * * root /usr/odk/upload-blobs.sh
0 4 * * * root /usr/odk/purge-forms.sh
0 4 * * * root /usr/odk/purge.sh
0 3 * * * root /usr/odk/run-analytics.sh
0 2 * * * root /usr/odk/process-backlog.sh
0 1 * * 0 root /usr/odk/reap-sessions.sh
5 changes: 0 additions & 5 deletions files/service/scripts/purge-forms.sh

This file was deleted.

5 changes: 5 additions & 0 deletions files/service/scripts/purge.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh -eu

cd /usr/odk
/usr/local/bin/node lib/bin/purge.js >/proc/1/fd/1 2>/proc/1/fd/2

0 comments on commit c368667

Please sign in to comment.