mirror of
https://github.com/Hyperspeed1313/porkbun-dynamic-dns-python.git
synced 2026-01-31 04:41:21 +00:00
Readme wasn't referencing the config file correctly
This commit is contained in:
parent
59623b7410
commit
3ecfcc09c3
1 changed files with 2 additions and 2 deletions
|
|
@ -56,8 +56,8 @@ The command will now run at startup. You can create additional crontab commands
|
||||||
An easy way to run at startup is to create a .bat or .cmd file which executes the dynamic DNS command(s), and then placing that file into Windows's startup folder. A sample .bat file might look like this (Python requires forward slashes, not backslashes in the Windows environment):
|
An easy way to run at startup is to create a .bat or .cmd file which executes the dynamic DNS command(s), and then placing that file into Windows's startup folder. A sample .bat file might look like this (Python requires forward slashes, not backslashes in the Windows environment):
|
||||||
```
|
```
|
||||||
@echo off
|
@echo off
|
||||||
python C:/Users/Alice/Documents/porkbun-dynamic-dns-python/porkbun-ddns.py C:/Users/Alice/Documents/porkbun-dynamic-dns-python/ example.com
|
python C:/Users/Alice/Documents/porkbun-dynamic-dns-python/porkbun-ddns.py C:/Users/Alice/Documents/porkbun-dynamic-dns-python/config.json example.com
|
||||||
python C:/Users/Alice/Documents/porkbun-dynamic-dns-python/porkbun-ddns.py C:/Users/Alice/Documents/porkbun-dynamic-dns-python/ example.com www
|
python C:/Users/Alice/Documents/porkbun-dynamic-dns-python/porkbun-ddns.py C:/Users/Alice/Documents/porkbun-dynamic-dns-python/config.json example.com www
|
||||||
```
|
```
|
||||||
You can then save the above .bat file and place it into the Startup folder. Windows 10's default shared Startup folder is located in the following location:
|
You can then save the above .bat file and place it into the Startup folder. Windows 10's default shared Startup folder is located in the following location:
|
||||||
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
|
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue