rnagabhyrava / plex-playlist-sync

App to recreate spotify/deezer playlists in your local plex server.
GNU General Public License v3.0
173 stars 24 forks source link

add boolean CRON env var to support running container as a cronjob #71

Open robertlestak opened 10 months ago

robertlestak commented 10 months ago

The current configuration will run the container forever, but the vast majority of that time is spent simply waiting for the next run. With this variable, the user can set CRON=1 and then schedule the docker container to run as a cronjob which will run once and exit on completion.

0xFEEDC0DE64 commented 9 months ago

nice one! i applied a similar patch to my copy of the repo :)