How would I stop a python script I started with ./cloudflare_ddns.py
Jump to turn (7)
- 1How would I stop a python script I started with ./cloudflareddns.py
- 2how can I setup a python script as a cron job instead of using a while true loop
- 3so if I wanted it to updated every 5 mins?
- 4how can I test this will work?
- 5what command can I put in my script to output a value to file called ddnslog.txt
- 6will that create the file if it does not already exist?
- 7I would want it to create if if it does not exist and write to existing if it do
- User
How would I stop a python script I started with ./cloudflare_ddns.py
- Assistant
To stop a Python script started with
./cloudflare_ddns.py, you can pressCtrl + Con your keyboard. This will send a termination signal to the running process and stop the script execution. - User
how can I setup a python script as a cron job instead of using a while true loop with a sleep timer?
- Assistant