Append latest podcast (RickvanV doet 2) to feed.
This will run the cronjob once every Monday to Thursday at 7am:
$ sudo crontab -e
0 7 * * 2-5 ./update-podcast-feed.sh >/dev/null 2>&1
Dependencies can be downloaded to a ./bin/
directory.
- install coreutils
$ brew install coreutils
- check if command 'gdate' exists (is installed via coreutils)
- append the code below to your
.bashrc
- don't forget to source your .bashrc
$ source ~/.bashrc
- test this command (should return no errors)
$ date --date "2019-03-14T04:00:00+01:00" "+%F"
# copy this to your .bashrc
PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"