Comments (6)
Thank you the detailed explanation and investigation. This is indeed a bug. I've started working on a fix in #604
from schedule.
maybe some additional infos:
On my windows 11 PC this doesn't seems to happen. On the script running in kubernetes containers on mediawikis toolforge servers it seems to occure only on jobs which are scheduled in hour 0 and 1.
The servers time is set to UTC.
from schedule.
Further tests:
When I set my timezone to UTC the same thing occurs. If the job is scheduled between 00:00 and 01:59 (MEST) the task will run immediately and additional: the task is immediately rescheduled after each run. I would guess till the 2 hours offset between UTC and MEST have passed
from schedule.
Hi @alkanex-xyz, the fix in #604 seems to work good with the test cases I can come up with. Would you be willing to also take a look at it? Either by reviewing, running it as part of your program or by writing a unit-test like the these ones that represents your situation? Any testing/reviewing help would be super helpful to move this forward.
from schedule.
Hey,
I've tested my case and the schedule run as intended. Thanks a lot .
from schedule.
#609 Sorry I did create a duplicate, did not find this issue before as I thought it was Docker related. The issue is still persisting for me.
from schedule.
Related Issues (20)
- python
- Potential problem of spawning sub processes HOT 2
- Unable to schedule from a specific time and following a specific calendar HOT 2
- odd daylight saving behaviour HOT 2
- still having cross-timezone problems in 1.2.1 HOT 2
- weekday
- daylight saving bug HOT 3
- Inconsistent startup behaviour on daily tasks at midnight - Timezone related HOT 11
- Extract only the time from next_run_datetime() HOT 2
- How can I retrieve the name of the next scheduled job?
- Weekly job fails with interval > 1
- Why did three separate python scripts using schedule start at different time eventually converged to be in sync?
- the time of job needed will be count for every ?
- Schedule only runs once? HOT 2
- Questions about Copilot + Open Source Software Hierarchy
- Timer reset.
- Returning a value from a scheduled function
- Job won't stop with schedule.every(1).minute.until(timedelta(3)).do(function, args) HOT 1
- scaling / multiple workers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schedule.