e29796954a
Added iob-pi states for raspberry
15 lines
368 B
Bash
Executable File
15 lines
368 B
Bash
Executable File
#!/bin/bash
|
|
# Purpose: fix permission + crontab setup
|
|
# -------------------------------------------------------
|
|
|
|
# fix permission
|
|
chmod +x /usr/local/bin/checkTemp.sh
|
|
|
|
# fix crontab... #write out current crontab
|
|
crontab -l > mycron
|
|
#echo new cron into cron file
|
|
echo "0/30 * * * * /usr/local/bin/checkTemp.sh" >> mycron
|
|
#install new cron file
|
|
crontab mycron
|
|
rm mycron
|