Bitcoin Forum
July 23, 2018, 10:07:15 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Antminer (Z9 mini) how to run a script every x minutes, also after reboot?  (Read 16 times)
drvga
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
July 22, 2018, 11:45:58 AM
 #1

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
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!