mydocker/side-agent/entrypoint.sh

11 lines
189 B
Bash

#!/bin/bash
# Start cron in the background
cron
# Start backup scheduler in the background
python3 /app/backup_scheduler.py --daemon &
# Execute the original container command
exec "$@"