added logging argument

This commit is contained in:
Shihaam Abdul Rahman
2020-01-20 05:41:36 +05:00
committed by GitHub
parent a8f89216fb
commit d52d15b138

View File

@ -12,13 +12,14 @@ git clone https://github.com/shihaamabr/dhiraaguddns.git
cd dhiraaguddns cd dhiraaguddns
``` ```
Edit the creds in ipupdate.py\ Edit the creds in ipupdate.py\
Give executable permissions for `manual.sh` `and auto.sh` Give executable permissions for `manual.sh` and `auto.sh`
```bash ```bash
chmod +x manual.sh chmod +x manual.sh
chmod +x auto.sh chmod +x auto.sh
``` ```
set a chronjob for auto.sh for automatic update
`./manual.sh` if you needed to trigger update manually set a chronjob for `./auto.sh | tee -a ip.log` for automatic update
`./manual.sh | tee -a ip.log` 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)