Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Problem with background downloading #15885
Comments
|
Most likely youtube-dl is not in |
|
@dstftw thank you so much. Using /usr/local/bin/youtube-dl totally solved the issue. Thanks for helping. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.14. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
I'm running youtube-dl on a Raspberry Pi.
I have a bash script which enables me to run youtube-dl. It's nothing fancy, just has a simple youtube-dl command.
I am able to download videos perfectly when I run the bash script in the foreground.
However, whenever I run it in the background by initiating it through a cron job, I run into a problem. Everything other than the youtube-dl command gets executed. In order to debug, I tried adding -v to the command and exporting the output to a log file. Unfortunately the script completely skips the youtube-dl command and the log file remains empty.
Like I said, the exact same script runs perfectly when run from the foreground.
The issue I face is similar to #10996 and #10706.
A little help would really be great.