File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,8 @@ services:
1919 # - WEEKLY_JAMS_FLAGS=--playlist=weekly-jams --download-mode=skip # Get tracks from weekly-jams, and only add tracks that are found locally to playlist
2020
2121 # - DAILY_JAMS_SCHEDULE=15 01 * * * # Runs daily, every day 15 minutes past 1PM
22- # - DAILY_JAMS_FLAGS=--playlist=daily-jams --download-mode=skip # Get tracks from daily-jams, and only add tracks that are found locally to playlist
22+ # - DAILY_JAMS_FLAGS=--playlist=daily-jams --download-mode=skip # Get tracks from daily-jams, and only add tracks that are found locally to playlist
23+
24+ # Uncomment for testing (runs explo right after launcing the container)
25+ # - EXECUTE_ON_START=false # Whether to run explo when starting the container (useful for testing)
26+ # - START_FLAGS=--persist=false # if needed, set startup flags for testing
Original file line number Diff line number Diff line change 3434chmod 600 /etc/crontabs/root
3535
3636echo " [setup] Starting cron..."
37+
38+ if [ " $EXCECUTE_ON_START " = " true" ]; then
39+ echo " [setup] Executing startup task..."
40+ apk add --upgrade yt-dlp && cd /opt/explo && ./explo $START_FLAGS
41+
42+ fi
3743crond -f -l 2
You can’t perform that action at this time.
0 commit comments