Post
Topic
Board Service Announcements (Altcoins)
Re: [ANN] eIquidus - Open-Source Altcoin Block Explorer
by
ekkakon
on 25/05/2021, 19:44:13 UTC

Thanks for posting the results of the peers and market sync. I believe your crontab problem has to do with the fact that you are not passing the correct nodejs path. If you specify the wrong path while running a sync cmd, it will attempt to lookup the correct path, which works when running manually but does not work in crontab. Therefore, you absolutely must specify the correct path in crontab otherwise it will fail.

To find your nodejs path, run this cmd:

Code:
which node

Then, update your crontab cmds with the correct nodejs path as follows:

Code:
*/1 * * * * /YOUR_FULL_PATH_TO_THE_EXPLORER_SCRIPTS_DIRECTORY/sync.sh /YOUR_FULL_PATH_TO_NODE update > /dev/null 2>&1
*/2 * * * * /YOUR_FULL_PATH_TO_THE_EXPLORER_SCRIPTS_DIRECTORY/sync.sh /YOUR_FULL_PATH_TO_NODE market > /dev/null 2>&1
*/5 * * * * /YOUR_FULL_PATH_TO_THE_EXPLORER_SCRIPTS_DIRECTORY/sync.sh /YOUR_FULL_PATH_TO_NODE peers > /dev/null 2>&1
*/5 * * * * /YOUR_FULL_PATH_TO_THE_EXPLORER_SCRIPTS_DIRECTORY/sync.sh /YOUR_FULL_PATH_TO_NODE masternodes > /dev/null 2>&1

Be sure to replace YOUR_FULL_PATH_TO_THE_EXPLORER_SCRIPTS_DIRECTORY with the full path to your explorer/scripts directory and replace YOUR_FULL_PATH_TO_NODE with the path to your node install that you got from the which node cmd.

In regards to the problem with the "price" and "marketcap" boxes showing zero, it is because the stex api only returns values for trades made in the last 24 hours. Therefore the price and marketcap will always be zero until someone buys some coins and you run a market sync after that.

Hopefully that all makes sense

Amazing... Crontab now working. Thanks.

Waiting to see if "Price" and "Marketcap" boxes will show some values as there was some recent moves on Stex exchange.  Smiley