12 lines
190 B
Bash
12 lines
190 B
Bash
#!/bin/bash
|
|
|
|
# Load the cron job
|
|
crontab /app/crontab
|
|
|
|
# Create the log file and set permissions
|
|
touch /var/log/cron.log
|
|
chmod 0666 /var/log/cron.log
|
|
|
|
# Start cron in the foreground
|
|
cron -f
|