#!/bin/bash

DIR=$(dirname "$0")

source ~/.bashrc

env TZ='America/Sao_Paulo' node $DIR/index.js

#!/bin/bash

DIR=$(dirname "$0")

source ~/.bashrc

env TZ='America/Sao_Paulo' node "$DIR/index.js" | tee -a "$DIR/cron.log"

Make the output of the task save to a log file
Make the output of the task save to a log file
