Files
DockerCron/start.sh
T
2023-07-05 11:42:12 -07:00

14 lines
219 B
Bash

#!/bin/bash
# Select the crontab file based on the environment
CRON_FILE="crontab.sh"
echo "Loading crontab file: $CRON_FILE"
# Load the crontab file
crontab $CRON_FILE
# Start cron
echo "Starting cron..."
crond -f