Make bash script to turn on off light

All kinds of 'OS' scripts

Moderator: leecollings

Post Reply
VHK17
Posts: 11
Joined: Tuesday 31 January 2017 9:10
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Make bash script to turn on off light

Post by VHK17 »

How to make a script that turns a light on, wait 1 second, turn the light off.
And repeats this 3 times

Code: Select all

#!/bin/bash
for run in {1..3}
do     ...........
done
exit
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest