2023-03-03 12:22:55 +01:00
|
|
|
#!/bin/bash
|
|
|
|
nvm use 16
|
|
|
|
cd /home/tykayn/www/multi-account-post-schedule-mastodon
|
2023-03-03 15:19:09 +01:00
|
|
|
#cd assets/documents
|
2023-03-03 12:22:55 +01:00
|
|
|
# get rss feed of afis fr website in documents
|
2023-03-03 15:19:09 +01:00
|
|
|
#echo "get afis science RSS feed" | tee -a /home/tykayn/log_autopost.txt
|
|
|
|
#wget --no-check-certificate --no-directories -O ./../documents/afis_rss.xml https://afis.org/rss.xml
|
|
|
|
#cd ../..
|
2023-03-03 12:22:55 +01:00
|
|
|
|
|
|
|
node helpers/afis_science.mjs --force | tee -a /home/tykayn/log_autopost.txt 2>&1
|