Comments (5)
Would really appreciate example code for multiple use cases:
- Clear logs every day
- Run task every minute
- Run task every minute without blocking anything
- Run task from a message queue (redis)
- Run in a distributed env
- Handling exceptions the right way
from schedule.
Please do, love this module but documentation so far is very poor.
from schedule.
I think this is still a key thing we should focus on to improve schedule. Bump.
from schedule.
Alright I just merged #108 – docs are live now at https://schedule.readthedocs.io
I'd greatly appreciate some help with fleshing out the docs further. I've laid down some basic structure but haven't migrated the FAQ or continued building it out.
If you're not comfortable with editing the Sphinx docs then improving the docstrings in the code directly would help a lot (https://schedule.readthedocs.io/en/latest/api.html)
Better docs is one of the best things we can do for the project right now.
from schedule.
I want to link some docs-related stuff for future reference:
- http://www.sphinx-doc.org/en/1.4.8/tutorial.html
- https://daler.github.io/sphinxdoc-test/includeme.html
- http://www.sphinx-doc.org/en/1.4.8/ext/autodoc.html
I also haven't updated the dev docs on generating and viewing the Sphinx web docs locally. Basically you need to:
pip install -r requirements-dev.txt
cd docs
make html
cd _build/html
python -m SimpleHTTPServer 8888
and then open http://localhost:8888 in your favorite browser 🌟
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
- instant execution of job with every().days.at on first run HOT 6
- 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.