Python Forum
something i noticed about the "schedule" module
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
something i noticed about the "schedule" module
#1
im new to python. using 3.7 atm. i just finished a SCADA auto fault reporting script (works off of a monitoring website's frontend). i've scheduled the program to run every 30 minutes.
schedule.every(30).minutes.run(abcd_1)
but i noticed that it the timer for 30 minutes only starts after the program has run its course. so if the first instance starts at 9:00, the second one will start at 9:32, then 10:04, 10:36 etc. is there a way to have the script run at every 30 minute mark accurately without resorting to writhing
schedule.every().day.at("9:00").do(abcd_1)
48 times?
Reply


Messages In This Thread
something i noticed about the "schedule" module - by Stan2292 - Aug-30-2019, 04:11 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cancelling previous schedule cosmarchy 2 2,835 Sep-15-2021, 04:55 PM
Last Post: Larz60+
  Hosting a script on a VPS, and on a schedule? oldguy 0 2,974 Mar-13-2021, 02:46 AM
Last Post: oldguy
  How to schedule Jupyter Notebooks with Papermill wendysling 0 2,527 Jun-11-2019, 05:53 PM
Last Post: wendysling
  schedule module conundrum wgovideo 11 4,375 May-29-2019, 06:39 PM
Last Post: wgovideo
  I got a problem with python schedule darktitan 2 3,528 Sep-22-2018, 12:49 PM
Last Post: darktitan
  Schedule with other processing RValentim 7 4,016 Jul-10-2018, 12:57 PM
Last Post: RValentim
  How to convert Schedule to APScheduler module? penguin9 2 3,792 May-03-2018, 12:44 PM
Last Post: penguin9
  Creating a schedule program ndplokkaar 4 3,989 Nov-23-2017, 04:21 PM
Last Post: ndplokkaar

Forum Jump:

User Panel Messages

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