Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set +x
- while :
- do
- echo -e "\nChecking for youtube-dl updates\n"
- ./youtube-dl -U
- echo -e "\nRunning...\n"
- echo -e "Outputting errors to errors.txt\n"
- ./youtube-dl --config-location ./youtube-dl.conf `cat ./queue.txt` `grep -v "#" channels.txt` > errors.txt 2>&1
- echo -e "\nClearing Queue file..."
- echo " " > queue.txt
- echo -e "\nWaiting 1 hour before continuing"
- sleep 3600
- done
Add Comment
Please, Sign In to add comment