From 41f3983fefced971bc9f9f8826dbb023828de78d Mon Sep 17 00:00:00 2001 From: st33v Date: Sun, 19 Nov 2017 10:20:41 +1100 Subject: copied timer from carport --- wlanWDog.service | 7 +++++++ wlanWDog.timer | 11 +++++++++++ 2 files changed, 18 insertions(+) create mode 100644 wlanWDog.service create mode 100644 wlanWDog.timer 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 -- cgit v1.3