fix(docker): Add default crontab download command (#1321)
-
docs(docker): Recommended image DEFAULT_WORKSPACE
-
fix(docker): Add default crontab download command
Clarify the /config/ytdl-sub-configs/cron script with explanatory comments and a
default --dry-run command. Also change the wrapper script to echo commands for easier
debugging. To update an existing script, move the old script aside, restart the
container to regenerate it, and edit the new script.
Also clarify the Automating page in the Getting Started guide docs.
- fix(docker): Unintentional unattended dry runs
PR feedback
prompted me to reconsider having a default command at all. We should assume,
unfortunately, that many new users will just skim the docs enough to enable the image's
cron integration but not actually incrementally test their configuration. In those
cases, they'd end up sending dry-run non-download requests for all their subscriptions
every 6 hours for no good reason. There's just no way to provide a default command that
isn't also providing a footgun.
- docs(docker): More open cron schedule generator
From PR
feedback, this
seems like less of an ad than the previous and the source for the page is itself open source.
- docs(docker): Document image environment footgun
From PR
feedback.
-
docs(automate): Avoid external link 404 responses
-
docs(automate): False simultaneous run warning
-
docs(automate): Clarify Docker daemon restarts
-
docs(automate): Revert run start non-recommended
-
docs(automate): Remove footgun manual run command
Addressing this underlying issue requires more thought and should be a separate PR.
- docs(automate): Restore env var footgun in example