Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit1on download error #26

Closed
wants to merge 4 commits into from

Conversation

bbo2adwuff
Copy link
Contributor

As I mentioned in #17 I use a systemd timer to start podcast-dl.

But I realized that my favorite podcast is uploaded often on Thursday mornings, but quite some times on Thursday evenings or even on Friday or Saturday. Either I set my timer on Sunday than I can be sure that the podcast is uploaded already. Or I just retry to download it every three hours until it succeeds by using following:

Restart=on-failure
RestartSec=10800

However systemd's Restart=on-failure just works with exit codes other than zero. So this pull request is one way to achieve this :)

@bbo2adwuff
Copy link
Contributor Author

Just realized that this was way to quick&dirty. See #27

@bbo2adwuff bbo2adwuff closed this Jul 27, 2021
@bbo2adwuff bbo2adwuff deleted the exit1onDownloadError branch July 27, 2021 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant