# Add this line to crontab -e as sudo (sudo su) to automate the whole thing # As it is right now, videos will be downloaded from YouTube every 6 hour (00:00 > 06:00 > 12:00 > 18:00 > repeat) 0 */6 * * * /bin/bash /mnt/ExtSSD/Backups/Bash/dlyt.sh >> /mnt/ExtSSD/Backups/Bash/dlyt.log 2>&1