I have installed cgminer
in my machine and could able to start it without any issues
when running ./cgminer
in terminal.
But for a specific feature, i am trying to invoke the cgminer
from
using shell script via a cron job.
1) The cgminer command executes correctly when i run the shell script 2) But it is not executing when i set the shell script as a cron job.
Below is the content in the shell script.
#!/bin/bash
export DISPLAY=:0.0
/root/test/cgminer/cgminer/cgminer >> /home/balan/temp/script/log.txt;
Please suggest.