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:
30 * * * * /usr/bin/ntpdate-sync silent
When i add the follwing line:
*/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