Running the script from a cron job: 0 9 * * * cd /home/pi/coronavirus-tracker && /usr/bin/node index.js