The SinusBot installer script installs ytdl and adds a cron-entry to automatically update this tool. It does that by creating /etc/cron.d/ytdl which contains:
However, on Debian 8 at least, this cron fails. This is because youtube-dl is located in /usr/local/bin/youtube-dl and the default PATH in the cron file is /usr/bin:/bin.
Hello,
The SinusBot installer script installs ytdl and adds a cron-entry to automatically update this tool. It does that by creating
/etc/cron.d/ytdl
which contains:However, on Debian 8 at least, this cron fails. This is because
youtube-dl
is located in/usr/local/bin/youtube-dl
and the defaultPATH
in the cron file is/usr/bin:/bin
.I fixed it for now by changing the cron to this:
However, I am not sure if the cron can be overwritten automatically by an update from SinusBot at some point, which is why I am reporting it here.