Celery 1.0 Documentation
. [{running_applications,[{rabbit,"RabbitMQ","1.7.1"}, {mnesia,"MNESIA CXC 138 12","4.4.12"}, {os_mon,"CPO CXC 138 46","2.2.4"}, {sasl,"SASL CXC 138 11","2.1.8"}, {stdlib,"ERTS CXC 138 10","1.16.4"}, {kernel decorators import periodic_task @periodic_task(run_every=crontab(hours=7, minute=30, day_of_week="mon")) def every_monday_morning(): print("This is run every monday morning at 7:30") 6.7.11 How do I shut of a weekday (0 - 7, where 0 is Sunday). >>> weekday("sunday") 0 >>> weekday("sun") 0 >>> weekday("mon") 1 8.6.27 Debugging Info - celery.utils.info 8.6.28 Python Compatibility - celery.utils.compat0 码力 | 123 页 | 400.69 KB | 1 年前3Celery 1.0 Documentation
"RabbitMQ","1.7.1"}, {mnesia,"MNESIA CXC 138 12","4.4.12"}, {os_mon,"CPO CXC 138 46","2.2.4"}, {sasl,"SASL CXC 138 11","2.1.8"}, decorators import periodic_task @periodic_task(run_every=crontab(hours=7, minute=30, day_of_week="mon")) def every_monday_morning(): print("This is run every monday morning at 7:30") How do I shut of a weekday (0 - 7, where 0 is Sunday). >>> weekday("sunday") 0 >>> weekday("sun") 0 >>> weekday("mon") 1 © Copyright 2009, Ask Solem. Created using Sphinx 1.2. index modules | next | previous | Celery0 码力 | 221 页 | 283.64 KB | 1 年前3Flask-RESTful Documentation Release 0.3.10
< Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT Add a new task $ curl http://localhost:5000/todos -d "task=something new" Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": "something new"} Update a task $ curl Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task": "something different"} Request Parsing0 码力 | 42 页 | 84.60 KB | 1 年前3Flask-RESTful Documentation Release 0.3.10
< Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT 8 Chapter 1. User’s Guide Flask-RESTful Documentation, Release 0.3.10 Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": "something new"} Update a task $ curl Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task": "something different"} 1.3 Request Parsing0 码力 | 39 页 | 212.29 KB | 1 年前3Celery 2.0 Documentation
. [{running_applications,[{rabbit,"RabbitMQ","1.7.1"}, {mnesia,"MNESIA CXC 138 12","4.4.12"}, {os_mon,"CPO CXC 138 46","2.2.4"}, {sasl,"SASL CXC 138 11","2.1.8"}, {stdlib,"ERTS CXC 138 10","1.16.4"}, {kernel decorators import periodic_task @periodic_task(run_every=crontab(hours=7, minute=30, day_of_week="mon")) def every_monday_morning(): print("This is run every monday morning at 7:30") 6.6.14 How do I shut of a weekday (0 - 7, where 0 is Sunday). Example: >>> weekday("sunday"), weekday("sun"), weekday("mon") (0, 0, 1) 8.6.34 Debugging Info - celery.utils.info 8.6.35 Python Compatibility - celery.utils0 码力 | 165 页 | 492.43 KB | 1 年前3Flask-RESTful Documentation Release 0.3.6
< Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT Add a new task $ curl http://localhost:5000/todos -d "task=something new" Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": "something new"} Update a task $ curl Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task": "something different"} 1.3 Request Parsing0 码力 | 46 页 | 245.60 KB | 1 年前3Flask-RESTful Documentation Release 0.3.6
< Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT Add a new task $ curl http://localhost:5000/todos -d "task=something new" Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": "something new"} Update a task $ curl Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task": "something different"} Request Parsing0 码力 | 49 页 | 91.90 KB | 1 年前3Flask-RESTful Documentation Release 0.3.7
< Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT 8 Chapter 1. User’s Guide Flask-RESTful Documentation, Release 0.3.7 Add Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": "something new"} Update a task $ curl Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task": "something different"} 1.3 Request Parsing0 码力 | 50 页 | 253.09 KB | 1 年前3Flask-RESTful Documentation Release 0.3.8
< Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT 8 Chapter 1. User’s Guide Flask-RESTful Documentation, Release 0.3.8 Add Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": "something new"} Update a task $ curl Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task": "something different"} 1.3 Request Parsing0 码力 | 50 页 | 253.64 KB | 1 年前3Flask-RESTful Documentation Release 0.3.8
< Content-Type: application/json < Content-Length: 0 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:10:32 GMT Add a new task $ curl http://localhost:5000/todos -d "task=something new" Content-Type: application/json < Content-Length: 25 < Server: Werkzeug/0.8.3 Python/2.7.2 < Date: Mon, 01 Oct 2012 22:12:58 GMT < * Closing connection #0 {"task": "something new"} Update a task $ curl Content-Type: application/json < Content-Length: 27 < Server: Werkzeug/0.8.3 Python/2.7.3 < Date: Mon, 01 Oct 2012 22:13:00 GMT < * Closing connection #0 {"task": "something different"} Request Parsing0 码力 | 55 页 | 93.30 KB | 1 年前3
共 142 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15