pool/web/blocks.sh
Tanguy Pruvot c2374d1420 cron: rework tasks to update blocks status more often
should make immature blocks confirmations more accurate and help
to see which exchange slow down the cron task.

also, orphan outdated blocks (one week)) from the db if the wallet is disabled
2016-06-07 21:41:32 +02:00

12 lines
156 B
Bash
Executable file

#!/bin/bash
alias php5='php -d max_execution_time=60'
cd /var/web
while true; do
php5 run.php cronjob/runBlocks
sleep 20
done
exec bash