include crontab for sync updates

main
lza_menace 3 years ago
parent 8ded845e58
commit d152a6dffb

@ -97,6 +97,9 @@ cp conf/suchwowx.service /etc/systemd/system/suchwowx.service
systemctl daemon-reload systemctl daemon-reload
systemctl enable suchwowx systemctl enable suchwowx
systemctl start suchwowx systemctl start suchwowx
# setup ongoing syncing with remote servers and Avalanche network
crontab -u suchwowx conf/crontab
``` ```
At this point you should have Nginx web server running with TLS certificates generated with Letsencrypt/Certbot, Systemd services for IPFS daemon for serving files and Gunicorn for serving the Flask application. At this point you should have Nginx web server running with TLS certificates generated with Letsencrypt/Certbot, Systemd services for IPFS daemon for serving files and Gunicorn for serving the Flask application.

@ -0,0 +1,5 @@
# Sync with remote servers specified by operator
0 * * * * sh -c "cd /opt/suchwowx; ./manage.sh sync-remotes"
# Sync with Avalanche blockchain to import minted memes
30 * * * * sh -c "cd /opt/suchwowx; ./manage.sh sync-avax"
Loading…
Cancel
Save