Post
Topic
Board Hardware
Re: ANTMINER S3 Discussion and Support Thread.
by
Biodom
on 03/08/2014, 15:15:28 UTC
Every half hr, lol, thats waaaay too often.

Once a day or every 12 hrs should suffice.

is 12,00 * * * * /etc/init.d/cgminer restart
the command for restarting every 12 hours, then?

could someone comment if this is OK to put this in tasks instead of ssh-ing?

The timing in cron works like this -

*     *     *   *    *        command to be executed
-     -     -   -    -
|     |     |   |    |
|     |     |   |    +----- day of week (0 - 6) (Sunday=0)
|     |     |   +------- month (1 - 12)
|     |     +--------- day of        month (1 - 31)
|     +----------- hour (0 - 23)
+------------- min (0 - 59)

So you could set the reboot for 1am and 1pm by doing 0 1,13 * * * /etc/init.d/cgminer restart

Yes, you can add it via the web interface.   Smiley

http://en.wikipedia.org/wiki/Cron

Great info. Thanks