안녕하십니까?
크론탭을 이용하여 시간대별 팬속이나 파워를 조절하고 싶은데요...
잘 안되네요..
XWindows 터미널에서는 명령어가 잘 먹습니다.
그런데 동일한 sh파일을 크론으로 돌리면 아래와 같은 오류가 나네요..
적용하는 방법 혹시 아시는 분 계신가요?
--- crontab ---
00 18 * * * /home/redman/miners/ewbf034b/nv/f70.sh >> /home/redman/miners/ewbf034b/nv/nvfan.log 2>&1
--- nvfan.log ---
Failed to connect to Mir: Failed to connect to server socket: 그런 파일이나 디렉터리가 없습니다
Unable to init server: 연결할 수 없습니다: 연결이 거부됨
ERROR: The control display is undefined; please run `nvidia-settings
--help` for usage information
#!/bin/bash
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
이걸 추가해주세요 원하시는 처리가 될겁니다 ^^