mirror of
https://github.com/nwithan8/plex-prerolls
synced 2024-08-30 16:52:17 +00:00
- Remove testing code
This commit is contained in:
parent
fc7f9505a3
commit
8e42c3598c
@ -4,7 +4,7 @@
|
||||
mkdir -p /etc/cron.d
|
||||
|
||||
# Read cron schedule from environment variable
|
||||
CRON_SCHEDULE=${CRON_SCHEDULE:-"* * * * *"} # Default to midnight every day if not supplied
|
||||
CRON_SCHEDULE=${CRON_SCHEDULE:-"0 0 * * *"} # Default to midnight every day if not supplied
|
||||
|
||||
echo "Cron schedule: $CRON_SCHEDULE"
|
||||
|
||||
@ -15,8 +15,6 @@ else
|
||||
DRY_RUN_FLAG=""
|
||||
fi
|
||||
|
||||
DRY_RUN_FLAG="--dry-run"
|
||||
|
||||
echo "Dry run flag: $DRY_RUN_FLAG"
|
||||
|
||||
# Schedule cron job with supplied cron schedule
|
||||
|
Loading…
Reference in New Issue
Block a user