Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: how to stop and start a script for 30 seconds
Post: RE: how to stop and start a script for 30 seconds

Hi thank you for the below, yes i want to run for example start.sh and it as above runs it for 30 seconds then pauases for 30 seconds and so on. then stop.sh to stop it Is this possible thanks aga...
laspaul General Coding Help 9 7,515 Jan-16-2020, 02:13 PM
    Thread: how to stop and start a script for 30 seconds
Post: RE: how to stop and start a script for 30 seconds

Thank you for the replies, the above didn't work as i got an import error. " ./s.sh: line 4: import: command not found " What im looking for is to putty into the server and start or stop the script ...
laspaul General Coding Help 9 7,515 Jan-15-2020, 08:42 PM
    Thread: how to stop and start a script for 30 seconds
Post: RE: how to stop and start a script for 30 seconds

Hi I tried the below but it isn't waiting for me. this is the contents of the .sh file i run ----------- #!/bin/bash # starts the test.py program rm -f test.out nohup /usr/bin/python test.py > t...
laspaul General Coding Help 9 7,515 Jan-14-2020, 08:08 PM
    Thread: how to stop and start a script for 30 seconds
Post: RE: how to stop and start a script for 30 seconds

Hi, thank you for the above. So how would i incorporate your solution into my code above. many thanks Paul
laspaul General Coding Help 9 7,515 Jan-14-2020, 02:07 PM
    Thread: how to stop and start a script for 30 seconds
Post: how to stop and start a script for 30 seconds

Hello and thank you for having me. At the moment i run a shell script using start.sh and then stop it with stop.sh. Is there a way i can run the script for 30 seconds then stop the script then run i...
laspaul General Coding Help 9 7,515 Jan-14-2020, 11:08 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020