From 9ac25dae5240e6d81daf7100360abd0a66b34fd9 Mon Sep 17 00:00:00 2001 From: tykayn Date: Mon, 24 Oct 2022 21:32:30 +0200 Subject: [PATCH] Ajouter 'cron_scripts/tkblog_post.sh' --- cron_scripts/tkblog_post.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cron_scripts/tkblog_post.sh 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