Setup podcast blog - 자동화

Page content

Scripts

Automation

mini2 - record mp3 file

$ crontab -l
00 11 *    *   *   cd /Users/cychong/work/cbs-ost/script && ./record.sh >> /tmp/cron.out 2>&1

mini1 - create MD file and publish podcast

$ crontab -l
04 12 * * * cd /home/cychong/work/cbs-ost/script && ./scp.sh >> /tmp/cron.out 2>&1
05 12 * * * cd /home/cychong/work/cbs-ost/script && ./publish.sh >> /tmp/cron.out 2>&1
  • Get mp3 file from mini2
  • Create md file after getting song list
  • Rebuild site to publish the updated podcast