File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -431,10 +431,15 @@ A Dockerfile is provided to simplify building and running `inadyn`.
431
431
docker build -t inadyn:latest .
432
432
docker run --rm -v "$PWD/inadyn.conf:/etc/inadyn.conf" inadyn:latest
433
433
434
- ** How to update ip periodically using cronjob :**
435
- * Create your ` inadyn.conf ` file
436
- * Create folder for cache
437
- * Add the following line inside crontab ` crontab -e `
434
+ #### Periodic Update with Cron
435
+
436
+ If you don't want to run In-a-dyn as a background daemon, you can set up
437
+ a cronjob:
438
+
439
+ * Create your ` inadyn.conf ` file
440
+ * Create folder for cache
441
+ * Add the following line inside crontab ` crontab -e `
442
+
438
443
``` bash
439
444
* * * * * docker run --rm -v " path/to/inadyn.conf:/etc/inadyn.conf" -v " path/to/cache:/var/cache/inadyn" troglobit/inadyn:latest -1 --cache-dir=/var/cache/inadyn > /dev/null 2>&1
440
445
```
You can’t perform that action at this time.
0 commit comments