Bitcoin Forum
May 06, 2024, 09:27:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Antminer (Z9 mini) how to run a script every x minutes, also after reboot?  (Read 153 times)
drvga (OP)
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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!