added logging argument
This commit is contained in:
parent
a8f89216fb
commit
d52d15b138
@ -12,13 +12,14 @@ git clone https://github.com/shihaamabr/dhiraaguddns.git
|
||||
cd dhiraaguddns
|
||||
```
|
||||
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
|
||||
chmod +x manual.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\
|
||||
[List of tz database time zones - WiKi](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
|
||||
|
Loading…
x
Reference in New Issue
Block a user