We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d3a6b3 commit ccef6f9Copy full SHA for ccef6f9
entrypoint.sh
@@ -1,6 +1,9 @@
1
#!/bin/sh
2
3
+# Ensure /root/.cache exists for crontab
4
+mkdir -p /root/.cache
5
+
6
(crontab -l 2>/dev/null; echo "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin") | crontab -
7
(crontab -l 2>/dev/null; echo "*/5 * * * * sleep 9 ; curl -s http://sync.afraid.org/u/$1/ >> /proc/1/fd/1 2>&1") | crontab -
8
-crond -f -l 0
9
+crond -f -d 0
0 commit comments