logging now included in bash scrip

This commit is contained in:
Shihaam Abdul Rahman
2020-01-20 06:24:41 +05:00
committed by GitHub
parent 3ece8c72b7
commit f3ef2c36e3

View File

@@ -18,8 +18,10 @@ chmod +x manual.sh
chmod +x auto.sh chmod +x auto.sh
``` ```
set a chronjob for `./auto.sh | tee -a ip.log` for automatic update set a chronjob for `./auto.sh` for automatic update
`./manual.sh | tee -a ip.log` if you needed to trigger update manually `./manual.sh` if you needed to trigger update manually
The bash scripts have timezone set to Maldives, change it if you needed to log another timezone\ The bash scripts have timezone set to Maldives, change it if you needed to log another timezone\
[List of tz database time zones - WiKi](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) [List of tz database time zones - WiKi](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)