Logs public IP address changes.
- Clone/download this repo.
- Install dependencies (npm install / yarn)
- Edit config.json.
- checkInterval - set how often the script checks your public ID address in milliseconds.
- filename - specify the path of the file to write IP address changes to. e.g.: "C:\Users\ips.csv"
- run the script with
node index.js
or install as service.
Doing this allows you to keep the script running in the background and to start the script at windows start up.
- Install node-windows
The recommended way to install node-windows is with npm, using the global flag:
npm install -g node-windows
Then, in your project root, run:
npm link node-windows
- Run
node install.js
Uninstall windows service:
- Run
node uninstall.js
Console log would be saved at daemon/publiciplogger.out.log