I trying to script the launch of cgminer based on a crontab.
Using a crontab entry that fires up a bash shell script that launches cgminer. Running the script directly launches cgminer flawlessly. Running the script from crontab always give the "no gpus usable" error.
I have triple checked that all vars are set (DISPLAY, GPU_MAX_ALLOC_PERCENT, GPU_USE_SYNC_OBJECTS=1), that the paths are correct, etc.
The entry is in the crontab accessible when being (sudo -s).
Any clues on what could be wrong ?
Again, drivers and SDK are installed correctly as everything works correctly when I launch the script manually.
The script launches cgminer with a basic cmd :
cd dir_where_cgminer_is_stored ./cgminer -c /folder/myconfig.conf