Python Forum
Script ends, does not start again
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script ends, does not start again
#9
Or, just have cron run it every minute, on the hours you care about, and get rid of the while loop and time checks and sleep() completely.
Reply


Messages In This Thread
Script ends, does not start again - by phanegem - Mar-30-2017, 11:12 AM
RE: Script ends, does not start again - by buran - Mar-30-2017, 11:16 AM
RE: Script ends, does not start again - by phanegem - Mar-30-2017, 11:26 AM
RE: Script ends, does not start again - by buran - Mar-30-2017, 11:59 AM
RE: Script ends, does not start again - by wavic - Mar-30-2017, 12:06 PM
RE: Script ends, does not start again - by phanegem - Mar-30-2017, 12:41 PM
RE: Script ends, does not start again - by nilamo - Mar-30-2017, 06:19 PM
RE: Script ends, does not start again - by wavic - Mar-30-2017, 07:31 PM
RE: Script ends, does not start again - by nilamo - Mar-30-2017, 07:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pywin32: Outlook connection ends with 'operation aborted' on one machine tstone 0 2,506 May-03-2022, 04:29 AM
Last Post: tstone
  readline.parse_and_bind() does not work in start-up script of Python interpreter zzzhhh 0 1,614 Jan-18-2022, 11:05 AM
Last Post: zzzhhh
  Regex: a string does not starts and ends with the same character Melcu54 5 2,558 Jul-04-2021, 07:51 PM
Last Post: Melcu54
  threadlocals are garbage collected before thread ends akv1597 0 1,861 Mar-09-2021, 12:13 PM
Last Post: akv1597
  Running a few lines of code as soon as my timer ends nethatar 3 2,506 Feb-26-2021, 01:02 PM
Last Post: jefsummers
  Writing to file ends incorrectly project_science 4 2,839 Jan-06-2021, 06:39 PM
Last Post: bowlofred
  Keep Application running after Python script ends PEGylated_User 0 2,055 Nov-12-2020, 03:27 PM
Last Post: PEGylated_User
  Looking for help on making a script [no idea where to start] Chietnemese 1 1,808 Jun-26-2020, 03:50 AM
Last Post: Larz60+
  how to stop and start a script for 30 seconds laspaul 9 7,907 Jan-16-2020, 02:13 PM
Last Post: laspaul
  Multiple start of script dev1755 2 2,239 Sep-22-2019, 10:44 PM
Last Post: dev1755

Forum Jump:

User Panel Messages

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