Files
dw-parser/run.sh
2023-12-12 12:36:36 +01:00

12 lines
234 B
Bash

#!/bin/bash
if ! test -f "/app/conf/crontab"; then
cp "/app/init/crontab" "/app/conf/crontab"
fi
crontab "/app/conf/crontab"
if ! test -f "/app/conf/conf.json"; then
cp "/app/init/conf.json" "/app/conf/conf.json"
fi
cron -f