-
download data then schedule when to redownloadsched = BackgroundScheduler(daemon=True) This looks like it schedules the job to run twice every hour, at 0 and 30 minutes past the hour, only on days Sunday through Thursday, and only between 1 PM and 8 PM in the UTC timezone. But your website says every 15 minutes. is your localy copy changed to run every 15 minutes or this is a bug ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The app updates every 30 minutes during the hours specified in the README / website (9am-4:30pm ET), but the data itself is 15 minutes delayed. For the scheduler I entered time constraints that follow the APScheduler documentation . Normally 0-4 for crontab days is Sun-Thu but for this module it's Mon-Fri. As for the UTC timezone I've recently removed it to keep both the scheduler and options data consistent with one timezone "America/New_York" and resolve potential issues with daylight saving time. However, you are free to change it to the zone you'd like. Some examples below:
|
Beta Was this translation helpful? Give feedback.
The app updates every 30 minutes during the hours specified in the README / website (9am-4:30pm ET), but the data itself is 15 minutes delayed.
For the scheduler I entered time constraints that follow the APScheduler documentation . Normally 0-4 for crontab days is Sun-Thu but for this module it's Mon-Fri. As for the UTC timezone I've recently removed it to keep both the scheduler and options data consistent with one timezone "America/New_York" and resolve potential issues with daylight saving time. However, you are free to change it to the zone you'd like.
Some examples below: