Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat /etc/udev/rules.d/90-co2mini.rules
- ACTION=="remove", GOTO="co2mini_end"
- SUBSYSTEMS=="usb", KERNEL=="hidraw*", ATTRS{idVendor}=="04d9", ATTRS{idProduct}=="a052", GROUP="plugdev", MODE="0660", SYMLINK+="co2mini", GOTO="co2mini_end"
- LABEL="co2mini_end"
- $ crontab -l
- #for bak arp
- @daily cd ~/arp ; ./arp-dl.sh
- # for speedtest
- @midnight cd ~/speedtest ; ./speedtest-header.sh
- 1,3,5,7,9 */2 * * * cd ~/speedtest ; ./speedtest-measure.sh
- #co2 measurement
- */3 * * * * /home/username/co2/bin/monitor.py /dev/co2mini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement