From 3ece8c72b763ec5db18fbdbb8df0d073b1bb3ac5 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Mon, 20 Jan 2020 06:23:43 +0500 Subject: [PATCH] added logging to ip.log --- manual.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/manual.sh b/manual.sh index d2eac87..d41e63b 100644 --- a/manual.sh +++ b/manual.sh @@ -1,5 +1,8 @@ +#!/bin/bash +( echo ============================= ; -echo Manual Update; -python3 ipupdate.py ; +echo Auto Update; +/usr/bin/python3.6 ipupdate.py ; TZ=Indian/Maldives date; (unset TZ); echo ============================= +) | tee -a ip.log