[nmglug] temp

Sam Noble sam at thepromisedlan.org
Fri Dec 4 14:26:13 PST 2009


On Fri, 2009-12-04 at 15:14 -0700, Jason Schaefer wrote:
> Anthony - You probably need to set this up as root (sudo crontab -e).
> At least to be able to write in /var/log/

And/or digitemp won't be able to write a file called
"/var/log/temperature" if there's already a directory there as indicated
in your message to the digitemp list.

Making a directory there and setting up the permissions such that user
"a" can write to it is a fine idea. But then you'll need to adjust the
command that you put in crontab so that it writes a _file_ in the
temperature directory. eg:
* * * * * /usr/bin/digitemp_DS9097U -a -l /var/log/temperature/digitemplog

______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> https://nmglug.org/mailman/listinfo/nmglug




More information about the nmglug mailing list