Previously, the voting services were not stable - with some votes missing. I have now tried a few improvements and let it run a few days, and it turns out it is quite stable now.
So TLDR; the solution is:
- moving to a better VPS provider i.e. hetzner
- run the voting service continuously in a screen session rather than a crontab.
- timeout the program in case it got stuck.
See following:
#!/bin/bash
i=0
while :
do
i=$((i+1))
date
echo ---------------Counter $i------------------
timeout 1200 node voting.js
sleep 5
done
Steem to the Moon🚀!
- You can swap the STEEM/SBD to SOL Solana via steem2sol!
- You can swap the STEEM/SBD to ETH Ethereum via steem2eth!
- You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
- You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
- You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
- Register a free STEEM account at SteemYY!
- Steem Block Explorer
- ChatGPT/Steem Integration: You can type !ask command to invoke ChatGPT
- Steem Witness Table and API
- Other Steem Tools