{ "info": { "author": "Chad Shryock", "author_email": "chad@isl.co", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "# Django RQ Scheduler\n\nA database backed job scheduler for Django RQ.\n\n## Requirements\n\nCurrently, when you pip install Django RQ Scheduler the following packages are also installed.\n\n* django >= 1.9\n* django-model-utils >= 2.4\n* django-rq >= 0.9.3 (Django RQ requires RQ >= 0.5.5)\n* rq-scheduler >= 0.6.0\n* pytz >= 2015.7\n* croniter >= 0.3.24\n\nTesting also requires:\n\n* factory_boy >= 2.6.1\n* psycopg2 >= 2.6.1\n\n\n## Usage\n\n### Install\n\nUse pip to install:\n\n```\npip install django-rq-scheduler\n```\n\n\n### Update Django Settings\n\n1. In `settings.py`, add `django_rq` and `scheduler` to `INSTALLED_APPS`:\n\n\t```\n\n\tINSTALLED_APPS = [\n \t...\n \t'django_rq',\n \t'scheduler',\n \t...\n\t]\n\n\n\t```\n\n2. Configure Django RQ. See https://github.com/ui/django-rq#installation\n\n\n### Migrate\n\nThe last step is migrate the database:\n\n```\n./manage.py migrate\n```\n\n## Creating a Job\n\nSee http://python-rq.org/docs/jobs/ or https://github.com/ui/django-rq#job-decorator\n\nAn example:\n\n**myapp.jobs.py**\n\n```\n@job\ndef count():\n return 1 + 1\n```\n\n## Scheduling a Job\n\n### Scheduled Job\n\n1. Sign into the Django Admin site, http://localhost:8000/admin/ and locate the **Django RQ Scheduler** section.\n\n2. Click on the **Add** link for Scheduled Job.\n\n3. Enter a unique name for the job in the **Name** field.\n\n4. In the **Callable** field, enter a Python dot notation path to the method that defines the job. For the example above, that would be `myapp.jobs.count`\n\n5. Choose your **Queue**. Side Note: The queues listed are defined in the Django Settings.\n\n6. Enter the time the job is to be executed in the **Scheduled time** field. Side Note: Enter the date via the browser's local timezone, the time will automatically convert UTC.\n\n7. Click the **Save** button to schedule the job.\n\n### Repeatable Job\n\n1. Sign into the Django Admin site, http://localhost:8000/admin/ and locate the **Django RQ Scheduler** section.\n\n2. Click on the **Add** link for Repeatable Job\n\n3. Enter a unique name for the job in the **Name** field.\n\n4. In the **Callable** field, enter a Python dot notation path to the method that defines the job. For the example above, that would be `myapp.jobs.count`\n\n5. Choose your **Queue**. Side Note: The queues listed are defined in the Django Settings.\n\n6. Enter the time the first job is to be executed in the **Scheduled time** field. Side Note: Enter the date via the browser's local timezone, the time will automatically convert UTC.\n\n7. Enter an **Interval**, and choose the **Interval unit**. This will calculate the time before the function is called again.\n\n8. In the **Repeat** field, enter the number of time the job is to be ran. Leaving the field empty, means the job will be scheduled to run forever.\n\n9. Click the **Save** button to schedule the job.\n\n\n## Reporting issues or Features\n\nPlease report issues via [GitHub Issues](https://github.com/istrategylabs/django-rq-scheduler/issues) .\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/istrategylabs/django-rq-scheduler", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-rq-scheduler", "package_url": "https://pypi.org/project/django-rq-scheduler/", "platform": "", "project_url": "https://pypi.org/project/django-rq-scheduler/", "project_urls": { "Homepage": "https://github.com/istrategylabs/django-rq-scheduler" }, "release_url": "https://pypi.org/project/django-rq-scheduler/1.1.3/", "requires_dist": [ "django (>=1.9.0)", "django-model-utils (>=2.4.0)", "django-rq (>=0.9.3)", "rq-scheduler (>=0.6.0)", "pytz (>=2015.7)", "croniter (>=0.3.24)", "factory-boy (>=2.6.1) ; extra == 'test'", "psycopg2 (>=2.6.1) ; extra == 'test'" ], "requires_python": "", "summary": "A database backed job scheduler for Django RQ", "version": "1.1.3" }, "last_serial": 5093124, "releases": { "1.0.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "4f75c14de236df9a8dcab7392f252e36", "sha256": "d881f0614676c17b97ec0c003983e0842c84ed38bcca83d9d499aa4161846d70" }, "downloads": -1, "filename": "django_rq_scheduler-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4f75c14de236df9a8dcab7392f252e36", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9934, "upload_time": "2016-03-03T21:30:18", "url": "https://files.pythonhosted.org/packages/5c/40/ab4ae3ce81d0500f91f844a6c598221e1e27005cf3a3a0fe9bfb5d4a428b/django_rq_scheduler-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b05f6859385a09dad711e5d8ab06ad7a", "sha256": "6774a9d35ae83aca18f966f41a742cc8d7daaad4cb6c2e759e194c4f0582b398" }, "downloads": -1, "filename": "django-rq-scheduler-1.0.1.tar.gz", "has_sig": false, "md5_digest": "b05f6859385a09dad711e5d8ab06ad7a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6259, "upload_time": "2016-03-03T21:30:28", "url": "https://files.pythonhosted.org/packages/9f/e0/6028a78dd0435d9e6887e6de2530f1e3f14a3e41329b1eda65e285ed6a5f/django-rq-scheduler-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "ca626a08e7bf5d7375bececf9cf1965c", "sha256": "5c9b40d099555a87d352fc698bf3648a2302996f325af8913703d1dc3296e20e" }, "downloads": -1, "filename": "django_rq_scheduler-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ca626a08e7bf5d7375bececf9cf1965c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9974, "upload_time": "2016-03-10T19:18:50", "url": "https://files.pythonhosted.org/packages/86/c2/f5cc1693012d4fcd61e8e1f3ef220ce933332bd34d9d94739aad4f64e6ec/django_rq_scheduler-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f164658afad9d5b2ab12d06f7800933a", "sha256": "f95fcf35883e003d2cb724075a16b53591443300939d22547757f61646d6d4c2" }, "downloads": -1, "filename": "django-rq-scheduler-1.0.2.tar.gz", "has_sig": false, "md5_digest": "f164658afad9d5b2ab12d06f7800933a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6301, "upload_time": "2016-03-10T19:18:55", "url": "https://files.pythonhosted.org/packages/5c/be/80cd31302c4775c52af4308fa802a2d6ee54b30fee7772e46cd7c04fb2e2/django-rq-scheduler-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "e0460800e9253c451f16870de5e3a176", "sha256": "8a0f9779149cae1c32db253d87d64f6ebfd187045e08a5af8d83efa3de830170" }, "downloads": -1, "filename": "django_rq_scheduler-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e0460800e9253c451f16870de5e3a176", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11546, "upload_time": "2016-04-30T07:33:19", "url": "https://files.pythonhosted.org/packages/fd/4e/12e869e49257acd36f42b1821d82395cb4a0499d7d1f6a2179ee1bfbb77c/django_rq_scheduler-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8df4c9594423f3d02ec7616337d37b73", "sha256": "a157a210a6f2ca083cbd753fbb66bd62dbe10fbf0043c09cc34b925f3867eb72" }, "downloads": -1, "filename": "django-rq-scheduler-1.1.0.tar.gz", "has_sig": false, "md5_digest": "8df4c9594423f3d02ec7616337d37b73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7035, "upload_time": "2016-04-30T07:33:26", "url": "https://files.pythonhosted.org/packages/de/65/ce44af72fb2e588d0af83bf6ede0074a17fe675d189e915054f799e66fa5/django-rq-scheduler-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "6ad5b6bc71ce949a54562bf8679a6847", "sha256": "31e623ceaacdd93ccdeee5d874b719d77c50ca992d564afdf4f78195c105dba4" }, "downloads": -1, "filename": "django_rq_scheduler-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6ad5b6bc71ce949a54562bf8679a6847", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11549, "upload_time": "2016-09-30T20:00:36", "url": "https://files.pythonhosted.org/packages/2b/0c/279ec140b0f8b8b48b76c9060e91e6e8c1daed1ba5e720e486cfcdea7333/django_rq_scheduler-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "34416fd18689232eef830f52ce9cbdf9", "sha256": "c39537189dc3b28e6c302226faaa880725f9ce6052ffde546e695843fde7ac85" }, "downloads": -1, "filename": "django-rq-scheduler-1.1.1.tar.gz", "has_sig": false, "md5_digest": "34416fd18689232eef830f52ce9cbdf9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7025, "upload_time": "2016-09-30T20:00:41", "url": "https://files.pythonhosted.org/packages/c8/da/77b928a144cd19113b51ef2456a8ee6ea88bf77b200d3b7a43e9383fae17/django-rq-scheduler-1.1.1.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "78da795b0a551283a4167780a500a56f", "sha256": "4418e1397c5ce02ce1653f97ceb5ebf8b87902e072da81a88770a02b725d1461" }, "downloads": -1, "filename": "django_rq_scheduler-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78da795b0a551283a4167780a500a56f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12567, "upload_time": "2019-04-03T21:43:59", "url": "https://files.pythonhosted.org/packages/d6/2d/b6bedc60088dc7e940ea116112beeba5c256238df42e76822c0956383d13/django_rq_scheduler-1.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c1fc7f1bf165748e33a422e371cf88ad", "sha256": "8300d1cdc839fddd7723f4ff0c09089d6d182be0a6bdfed2357b6d8691010fd4" }, "downloads": -1, "filename": "django-rq-scheduler-1.1.3.tar.gz", "has_sig": false, "md5_digest": "c1fc7f1bf165748e33a422e371cf88ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9140, "upload_time": "2019-04-03T21:44:00", "url": "https://files.pythonhosted.org/packages/21/d9/d4fa1c0815ae9a45b375080343dad54507227c47e0a9c148efdb4e878da7/django-rq-scheduler-1.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "78da795b0a551283a4167780a500a56f", "sha256": "4418e1397c5ce02ce1653f97ceb5ebf8b87902e072da81a88770a02b725d1461" }, "downloads": -1, "filename": "django_rq_scheduler-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "78da795b0a551283a4167780a500a56f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12567, "upload_time": "2019-04-03T21:43:59", "url": "https://files.pythonhosted.org/packages/d6/2d/b6bedc60088dc7e940ea116112beeba5c256238df42e76822c0956383d13/django_rq_scheduler-1.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c1fc7f1bf165748e33a422e371cf88ad", "sha256": "8300d1cdc839fddd7723f4ff0c09089d6d182be0a6bdfed2357b6d8691010fd4" }, "downloads": -1, "filename": "django-rq-scheduler-1.1.3.tar.gz", "has_sig": false, "md5_digest": "c1fc7f1bf165748e33a422e371cf88ad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9140, "upload_time": "2019-04-03T21:44:00", "url": "https://files.pythonhosted.org/packages/21/d9/d4fa1c0815ae9a45b375080343dad54507227c47e0a9c148efdb4e878da7/django-rq-scheduler-1.1.3.tar.gz" } ] }