1
0
This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
ledger-sqlite/docker-entrypoint.sh

10 lines
161 B
Bash
Raw Permalink Normal View History

2022-07-23 09:31:32 -07:00
#!/bin/sh
# Inspired by https://github.com/dkruger/docker-cron
cat << EOF > /var/spool/cron/crontabs/root
${CRONTAB_ENTRY} python /code/main.py
EOF
exec "$@"