Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: something i noticed about the "schedule" module
Post: something i noticed about the "schedule" module

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(...
Stan2292 General Coding Help 1 1,765 Aug-30-2019, 04:11 AM
    Thread: scheduled job only runs once
Post: RE: scheduled job only runs once

(Aug-19-2019, 06:53 AM)fishhook Wrote: Quote:why? def job(): import asdf_1 All that you code do is importing module. Python's modules are imported only once per process. would love to know the a...
Stan2292 General Coding Help 4 2,860 Aug-19-2019, 06:55 AM
    Thread: scheduled job only runs once
Post: scheduled job only runs once

import time import schedule def job(): import asdf_1 # "asdf_1" is a .py file that runs fine on its own schedule.every().day.at("13:00").do(job) while True: schedule.run_pending() time....
Stan2292 General Coding Help 4 2,860 Aug-19-2019, 02:09 AM
    Thread: how do i loop a "def ..." when error occurs?
Post: how do i loop a "def ..." when error occurs?

i'm automating some of my website monitoring work with python+selenium. the relevant part of the code looks like this: import time import schedule from selenium import webdriver from selenium.webdriv...
Stan2292 General Coding Help 0 1,613 Aug-12-2019, 05:28 AM
    Thread: multiple schedules?
Post: multiple schedules?

# OP is a python noob trying to streamline some performance monitoring work so he doesn't have to hire more people to do that # Python 3.7 i'm having issues trying to execute the same .py files multi...
Stan2292 General Coding Help 1 1,599 Aug-01-2019, 02:15 AM

User Panel Messages

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