How I Automated My Weekly Newsletter using Blitz.js and CRON

John Grisham
JavaScript in Plain English
4 min readAug 24, 2021

--

Photo by Brett Jordan on Unsplash

I recently discovered Blitz.js and love how quickly the framework lets you build an application but my favorite part is the command-line tool. Blitz.js has a console that can be used to run predefined queries and mutations via a node REPL environment which is great for manually running tasks from the command line, but less good when ran inside of CRON job since it will take over…

--

--