Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: drvga on July 22, 2018, 11:45:58 AM



Title: Antminer (Z9 mini) how to run a script every x minutes, also after reboot?
Post by: drvga on July 22, 2018, 11:45:58 AM
Hi

i have an Antminer Z9 mini and looking for a way to run a script every x minutes.
so i found the /var/spool/cron/root file with the following content:
Code:
30 * * * *    /usr/bin/ntpdate-sync silent

When i add the follwing line:
Code:
*/5 * * * * sh /home/root/TXstats.sh

the script will not execute. i thought i have to reload the cronjob task to reread the cron-file, but i didnīt find a way to do that, there is no "service" command, no systemctl command, no init.d/cron file. Then i thing rebooting is the best way, but after a reboot, my extention in /var/spool/cron/root file is whipped out.

Does someone knows more about the behavior of the xilinx system in this antminers and how i can handle a cron job (or cronjob like script) and the reboot/reset problem?

Looking for any information to this, thanks and best regards,
Dave