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.
Error with work in bash script #5415
Comments
|
Post the output with the --verbose option and explain with detail what's your exact problem. |
|
I run this line youtube-dl --verbose -o test.mp4 http://www.youtube.com/watch?v=zNfTaN76kBk&feature=youtube_gdata >> log_file.logIf i run manualy, i have get file. But if run this line with crontab (in bash file)...i don't have file and logs. Magic! uname -a:
Linux work-laptop 3.16.0-33-generic #44~14.04.1-Ubuntu SMP Fri Mar 13 10:33:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
youtube-dl --version
2015.04.09 |
|
Redirect stderr and stdout to log file by changing cron task to |
|
Wow!
but i have youtube-dl: > youtube-dl
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.Thanks! Now the problem can be solved (cron does not see local bin's) |
Hi all,
I have bash script:
(in txt lines - urls to videos)
and cronline , for example
This script used to work. But now is not working. He runs, renames files, and then exits without error. If I run the script manually, everything works fine.
Youtube-dl stopped working in background?