mirror of
https://github.com/Team-Resurgent/DockerCron.git
synced 2026-08-15 02:18:18 -07:00
14 lines
219 B
Bash
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
|