diff --git a/cron_scripts/tkblog_post.sh b/cron_scripts/tkblog_post.sh new file mode 100644 index 0000000..70c5a95 --- /dev/null +++ b/cron_scripts/tkblog_post.sh @@ -0,0 +1,6 @@ + +#!/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