We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4420223 + 9b06d2a commit c368667Copy full SHA for c368667
files/service/crontab
@@ -1,5 +1,5 @@
1
0 5 * * * root /usr/odk/upload-blobs.sh
2
-0 4 * * * root /usr/odk/purge-forms.sh
+0 4 * * * root /usr/odk/purge.sh
3
0 3 * * * root /usr/odk/run-analytics.sh
4
0 2 * * * root /usr/odk/process-backlog.sh
5
0 1 * * 0 root /usr/odk/reap-sessions.sh
files/service/scripts/purge-forms.sh
files/service/scripts/purge.sh
@@ -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 commit comments