Post
Topic
Board Mining software (miners)
Re: cgmon - cgminer monitor for Linux - auto restart, reboot, sick gpu detect &more
by
aMasheep
on 12/02/2014, 08:01:24 UTC
Hey, I am also having a problem getting this to work properly.
When I try to launch cgmon.tcl it gives me this error:
Code:
miner@miner:~$ sudo sh cgmon.tcl
cgmon.tcl: 27: cgmon.tcl: Syntax error: "(" unexpected

This is currently how my crontab file looks:
Code:
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
*/2 * * * *     root    /home/miner/cgmon.tcl >/dev/null 2>&1


And here is a link to my edited version of the cgmon.tcl
http://pastebin.com/xLzhYvpC

I'd apprecciate all and any help. Thank you.