Thanks, I have a minimal solution without the lock file, running ever 15 mins from ctrontab:
#!/bin/bash
cd /root/
echo "" >> sync.log
echo "SYNC | $(date)" >> sync.log
echo "---------------------------------------------------------------------------" >> sync.log
cd /root/xenminer
python3 syncnode.py adddddreeessss >> /root/sync.log
BTW what for is the index_builder.py actually?
Every time I start it after syncing it gets killed and no logs.
Last fetched block ID from blockchain: 143028
Total blocks from mempool: 143028
Number of records to fetch: 1
End block ID: 143029
Found previous record in blockchain, continuing with hash: 05107da8ebddee4cd3407213e3c480e7f98341404a29d867a2996259158cfba1
Fetched block with merkleroot 143029, aafe9af13f4040cb4f4cef47b67cc188f5b030ece236b204330a1266f8505d7c
root@vultr:~/xenminer# python3 index_builder.py
Killed