Skip to content

Commit ccef6f9

Browse files
committed
Fixing another error
1 parent 0d3a6b3 commit ccef6f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

entrypoint.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/sh
22

3+
# Ensure /root/.cache exists for crontab
4+
mkdir -p /root/.cache
5+
36
(crontab -l 2>/dev/null; echo "PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin") | crontab -
47
(crontab -l 2>/dev/null; echo "*/5 * * * * sleep 9 ; curl -s http://sync.afraid.org/u/$1/ >> /proc/1/fd/1 2>&1") | crontab -
58

6-
crond -f -l 0
9+
crond -f -d 0

0 commit comments

Comments
 (0)