multi-account-post-schedule.../cron_scripts/tkblog_post.sh

7 lines
314 B
Bash

#!/bin/bash
PATH=/home/tykayn/.nvm/versions/node/v16.16.0/bin:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/snap/bin/home/tykayn/bin:/home/tykayn/bin
nvm use 16
cd /home/tykayn/www/mastodon_multi_account
node helpers/tkblogPost.js | tee -a /home/tykayn/log_autopost.txt 2>&1