diff options
| author | st33v <github@f3rr3t.com> | 2017-11-19 10:20:41 +1100 |
|---|---|---|
| committer | st33v <github@f3rr3t.com> | 2017-11-19 10:20:41 +1100 |
| commit | 41f3983fefced971bc9f9f8826dbb023828de78d (patch) | |
| tree | ec09ac7c9cc6c46f0c232d0b5fea6a2825b9bd52 | |
copied timer from carport
| -rw-r--r-- | wlanWDog.service | 7 | ||||
| -rw-r--r-- | wlanWDog.timer | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/wlanWDog.service b/wlanWDog.service new file mode 100644 index 0000000..c2ddf84 --- /dev/null +++ b/wlanWDog.service @@ -0,0 +1,7 @@ +[Unit] +Description=little pix from D-link cam + +[Service] +Type=oneshot +User=st33v +ExecStart=-/usr/local/bin/takecarportpix.sh diff --git a/wlanWDog.timer b/wlanWDog.timer new file mode 100644 index 0000000..2a05b43 --- /dev/null +++ b/wlanWDog.timer @@ -0,0 +1,11 @@ +[Unit] +Description= Take a photo every thirty seconds + +[Timer] +#OnBootSec=1min +AccuracySec=1us +OnCalendar=*:*:00,30 +Unit=carport.service + +[Install] +WantedBy=timers.target |
