Add cron/README.md

This commit is contained in:
2025-04-01 13:47:53 +00:00
parent ee0b955168
commit 9ae3a5e2a2

19
cron/README.md Normal file
View File

@@ -0,0 +1,19 @@
compose.yml
```yml
services:
cron:
build:
dockerfile_inline: |
FROM alpine
RUN apk add --no-cache openssh
volumes: [$HOME/.ssh:/root/.ssh]
network_mode: host
entrypoint: ssh $USER@localhost
stop_grace_period: 0s
restart: unless-stopped
command:
- |
cd /Users/w/dock/public/radiology.yauk.tv
/Users/w/.venv/bin/python main.py
tail -f /dev/null
```