Comments (6)
Original comment by Echo Narcissus (Bitbucket: echo_narcissus, GitHub: Unknown):
Store the mode info somewhere(mysql), there is another application which can be invoked by APScheduler to change the mode periodically. But i don't think it is a good idea. Application should change the mode periodically inside.
from apscheduler.
Original comment by Daniel Lenski (Bitbucket: dlenski, GitHub: dlenski):
The SQLAlchemyJobStore
already provides this, in the sense that one can shutdown the scheduler and bring it back up with the jobs intact.
General suspend/resume might be useful for an application that stores jobs in-memory and uses BlockingScheduler
, but which periodically wants to switch itself between an interactive mode (perhaps for debugging a job that produced an odd result?) and a mode where it's just running jobs.
from apscheduler.
Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm):
APScheduler 3.0 already has that on the job level. What's the scheduler level suspend/resume needed for?
from apscheduler.
Original comment by Echo Narcissus (Bitbucket: echo_narcissus, GitHub: Unknown):
I think it should be done on the invidual job level.
from apscheduler.
Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm):
Moving this to a future release.
from apscheduler.
Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm):
Missed runs should not generate missed run events, but instead suspend/resume events. Should this be done on the scheduler or invidual job level?
from apscheduler.
Related Issues (20)
- Implement schedule filters
- [v4.0.0a4] Combining daily and weekly triggers increments by 14 days HOT 7
- [v4.0.0a4] Setting `timezone` in `CalendarIntervalTrigger` loops forever HOT 1
- RuntimeError: cannot schedule new futures after interpreter shutdown when the job is triggered HOT 6
- PsycopgEventBroker.from_async_sqla_engine raises
- `'CronTrigger' object has no attribute 'year'` when try to pause schedule HOT 13
- Save results of scheduler jobs, version: 4.0.0a5 HOT 6
- Table Prefix for SQLAlchemyDataStore HOT 4
- Improved documentation around "day_of_week" 0/1 confusion HOT 1
- TypeError: cannot pickle '_io.TextIOWrapper' object HOT 5
- Event loop is closed when using AsyncScheduler with RedisEventBroker HOT 2
- Allow more job defaults' config to be passed
- v4 Temporary data store error Scheduler crashed HOT 4
- Export crontab line from CronTrigger HOT 7
- Bug when stopping scheduler with jobs running - APScheduler v4 HOT 14
- App crash HOT 32
- Add .get_task method to Schedulers - APS v4 HOT 10
- Is typo in _context.py? HOT 1
- All workers run job when using sqlite3 data store HOT 5
- Add priority to jobs - APS V4 HOT 2
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 apscheduler.