You must install expect on your raspberry with 
sudo apt-get install expect

After you must create that file
mkdir ./bin 
cd ./bin 

Create the script using the nano text editor

sudo nano reboot1

In the nano editor, type the script:

Paste my code
Modify with yours touch's ip

Ctrl+o
Ctrl+x

sudo chmod 755 reboot1

Insert in your cronjob, that must execute your new file
/home/pi/bin/reboot1




------------------------------------------------------------------------
dettofatto's Profile: http://forums.slimdevices.com/member.php?userid=54805
View this thread: http://forums.slimdevices.com/showthread.php?t=104028

_______________________________________________
Touch mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to