Skip to content
Snippets Groups Projects
Commit a568362c authored by egon w. stemle's avatar egon w. stemle :robot:
Browse files

fixup! Fix cron subprocess terminates silently

parent 761d8a7b
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ spec: ...@@ -78,7 +78,7 @@ spec:
command: command:
- /bin/sh - /bin/sh
- -c - -c
- ps aux | grep -v grep | grep -E "sleep|timeout" - reply=$(curl -s -o /dev/null -w %{http_code} https://clarin.eurac.edu/repository/xmlui/); if [ "$reply" -lt 200 -o "$reply" -ge 400 ]; then exit 1; fi; ps aux | grep -v grep | grep -E "sleep|t imeout" && exit 0 || exit 1;
initialDelaySeconds: 600 initialDelaySeconds: 600
periodSeconds: 15 periodSeconds: 15
timeoutSeconds: 3 timeoutSeconds: 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment