Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

PMK/rickvanv-doet-2-podcast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DESCRIPTION

https://pmklaassen.com/rickvanv-doet-2/

Append latest podcast (RickvanV doet 2) to feed.

INSTALLATION

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

  • jq
  • pup
  • language-pack-nl (only for Linux) [optional]
  • coreutils (only for macOS; see below)

Dependencies can be downloaded to a ./bin/ directory.

TO DO ON macOS ONLY:

  1. install coreutils $ brew install coreutils
  2. check if command 'gdate' exists (is installed via coreutils)
  3. append the code below to your .bashrc
  4. don't forget to source your .bashrc $ source ~/.bashrc
  5. 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"