{ "info": { "author": "Ilan Steemers", "author_email": "koed00@gmail.com", "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", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Django RQ Jobs\n==============\n\nProvides scheduled jobs management from the Django Admin using\n`Django-RQ `__\n\n.. figure:: http://i.imgur.com/yd09EqH.png\n :alt: Admin Screenshot\n\n Admin Screenshot\n\nRequirements\n------------\n\n- `Django `__\n- `Django-RQ `__\n- `Arrow `__\n\nInstallation\n------------\n\n- Make sure you have `Django-RQ `__ up\n and running before you do anything. This app is just a simple admin\n plugin to manage your scheduled tasks and management commands.\n\n- Install the package with ``pip install django-rq-jobs``\n\n- Add ``django_rq_jobs`` to INSTALLED\\_APPS in settings.py:\n\n .. code:: python\n\n INSTALLED_APPS = (\n # other apps\n \"django_rq\",\n \"django_rq_jobs\",\n )\n\n- Add ``RQ_JOBS_MODULE`` in settings.py. A string or a tuple of strings\n designating all modules where you keep your jobs. Anything marked\n with the Django RQ's ``@job`` decorator will show up in the admin.\n\n .. code:: python\n\n # A singe module:\n RQ_JOBS_MODULE = 'myapp.tasks'\n\n # or with multiple modules:\n RQ_JOBS_MODULE = (\n 'myapp.tasks',\n 'anotherapp.tasks',\n )\n\n- Run ``python manage.py migrate`` to create the job model.\n\n- Open your Django admin and find the RQ Jobs scheduled job section and\n schedule something.\n\n- Schedule the heartbeat ``python manage.py rqjobs`` with your favorite\n scheduler. This can be cron, Heroku scheduler or anything else you\n prefer. Make sure you set the heartbeat interval to something\n sensible; 5 or 10 minutes is usually enough, but run it every minute\n if you want. Execution of the jobs is deferred to RQ anyway.\n\nNotes\n-----\n\n- Supports once, hourly, daily, weekly, monthly, quarterly and yearly\n scheduled tasks.\n\n- Limited run schedules: Set the 'Repeats' on a task to the maxium\n number of repeats you want. The task gets deleted once the counter\n reaches zero. Defaults to ``-1`` for eternal.\n\n- Arguments are a dict: ``{'one': 1, 'two': 2, 'three': 3}``\n\n- RQ Jobs will try to link a job to a queue task status in Django RQ.\n Usually these job reports don't exist much longer than a few minutes\n unless they fail. So if you are seeing ``None`` in the RQ status,\n that usually means things went well.\n\n- If you haven't run the heartbeat ``manage.py rqjobs`` for a while and\n missed some scheduled jobs, RQ Jobs will play catch-up with every\n heartbeat. This way limited run schedules don't get compromised.\n\nScheduling Management Commands\n------------------------------\n\nIf you want to schedule regular Django management commands, it's easiest\nto add them using Django's management wrapper. So if you wanted to\nschedule \\`manage.py clearsessions' :\n\n.. code:: python\n\n from django.core import management\n\n @job\n def clear_sessions():\n return management.call_command('clearsessions')\n\nThis will automagically appear as 'Clear Sessions' in the admin\ninterface.\n\nAcknowledgements\n----------------\n\nImpossible without the excellent\n`Django-RQ `__ and\n`RQ `__ projects. Thanks to\n`Arrow `__ for making dates easy.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/koed00/django-rq-jobs", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-rq-jobs", "package_url": "https://pypi.org/project/django-rq-jobs/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-rq-jobs/", "project_urls": { "Homepage": "https://github.com/koed00/django-rq-jobs" }, "release_url": "https://pypi.org/project/django-rq-jobs/0.1.5.1/", "requires_dist": null, "requires_python": null, "summary": "Provides scheduled jobs from the Django Admin using Django-RQ", "version": "0.1.5.1" }, "last_serial": 1655390, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ab45e0c598463783b052ced79b8203f7", "sha256": "d50a61b54dd3a603954beddb934275ac9b05d523026bfca4da2411d81238c017" }, "downloads": -1, "filename": "django-rq-jobs-0.1.0.tar.gz", "has_sig": false, "md5_digest": "ab45e0c598463783b052ced79b8203f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6276, "upload_time": "2015-05-07T12:54:05", "url": "https://files.pythonhosted.org/packages/d3/02/499b885a5c4f726f85ecc8c80d5b3529d7c33840b86444ee1aee5f6cb71a/django-rq-jobs-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9bfbd6fa107a1d99d584153e0eb4ced0", "sha256": "c797ae26a5ddc67526a130c49bbd9483a2e95cbc7b15e44c599e46e76347a981" }, "downloads": -1, "filename": "django-rq-jobs-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9bfbd6fa107a1d99d584153e0eb4ced0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6275, "upload_time": "2015-05-07T13:38:13", "url": "https://files.pythonhosted.org/packages/62/ff/eabf59aab45b3087da410ef733fab364b249bcecfa159707ba80f9c904a0/django-rq-jobs-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "0866645de1a91e8f86a8af4313eafd95", "sha256": "a121208211e855827582832b097f8b5e61dacc8c41918054292d211da173b8a3" }, "downloads": -1, "filename": "django-rq-jobs-0.1.2.tar.gz", "has_sig": false, "md5_digest": "0866645de1a91e8f86a8af4313eafd95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6266, "upload_time": "2015-05-07T15:11:31", "url": "https://files.pythonhosted.org/packages/27/d7/3c72927da14793b12f2fd6d26419bd89ebbd92498402434d73c0061d1ab2/django-rq-jobs-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a84b970a919f7060d2695acdb0b4b55a", "sha256": "f2e78d02aa05aac8a0819e25a5c9543103861d762dcff8e9cdfb3233cc045f19" }, "downloads": -1, "filename": "django-rq-jobs-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a84b970a919f7060d2695acdb0b4b55a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7054, "upload_time": "2015-05-08T14:59:21", "url": "https://files.pythonhosted.org/packages/ed/c0/aeb49de1a07a737669335a444d4ef612ccec9fe00005eaf0dd83a9163b7b/django-rq-jobs-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "87c74b549c8d7b0f24d8d5adb8b4dac0", "sha256": "940f5820842a96eb59e54d0043be8ec47ef681fba6654e1324e5f7f0de6c620b" }, "downloads": -1, "filename": "django-rq-jobs-0.1.4.tar.gz", "has_sig": false, "md5_digest": "87c74b549c8d7b0f24d8d5adb8b4dac0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7544, "upload_time": "2015-05-09T11:41:45", "url": "https://files.pythonhosted.org/packages/ce/07/8c5e27dd9acba6d5cc9392bf4d51bb19c067cef7d4b703b2a843225b7acf/django-rq-jobs-0.1.4.tar.gz" } ], "0.1.5": [], "0.1.5.1": [ { "comment_text": "", "digests": { "md5": "9e1b91c80a2bf82085a4d491515d8755", "sha256": "3932817f7fcffc891f8c8fa967ae990f617900df5b7a914a1af846c423222ce9" }, "downloads": -1, "filename": "django-rq-jobs-0.1.5.1.tar.gz", "has_sig": false, "md5_digest": "9e1b91c80a2bf82085a4d491515d8755", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9457, "upload_time": "2015-07-29T16:59:28", "url": "https://files.pythonhosted.org/packages/7f/05/b35f54683bcd892cb7eec5ac6a366f378b30237ada8531f14dd27f6a894e/django-rq-jobs-0.1.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9e1b91c80a2bf82085a4d491515d8755", "sha256": "3932817f7fcffc891f8c8fa967ae990f617900df5b7a914a1af846c423222ce9" }, "downloads": -1, "filename": "django-rq-jobs-0.1.5.1.tar.gz", "has_sig": false, "md5_digest": "9e1b91c80a2bf82085a4d491515d8755", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9457, "upload_time": "2015-07-29T16:59:28", "url": "https://files.pythonhosted.org/packages/7f/05/b35f54683bcd892cb7eec5ac6a366f378b30237ada8531f14dd27f6a894e/django-rq-jobs-0.1.5.1.tar.gz" } ] }