{ "info": { "author": "Josiah Carlson", "author_email": "josiah.carlson@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "Copyright 2011-2016 Josiah Carlson\n\nReleased under the LGPL license version 2.1 and version 3 (you can choose\nwhich you'd like to be bound under).\n\nDescription\n===========\n\nThis package intends to offer a method of parsing crontab schedule entries and\ndetermining when an item should next be run. More specifically, it calculates\na delay in seconds from when the .next() method is called to when the item\nshould next be executed.\n\nComparing the below chart to http://en.wikipedia.org/wiki/Cron#CRON_expression\nyou will note that W and # symbols are not supported.\n\n============= =========== ================= ============== ===========================\nField Name Mandatory Allowed Values Default Value Allowed Special Characters\n============= =========== ================= ============== ===========================\nSeconds No 0-59 0 \\* / , -\nMinutes Yes 0-59 N/A \\* / , -\nHours Yes 0-23 N/A \\* / , -\nDay of month Yes 1-31 N/A \\* / , - ? L\nMonth Yes 1-12 or JAN-DEC N/A \\* / , -\nDay of week Yes 0-6 or SUN-SAT N/A \\* / , - ? L\nYear No 1970-2099 * \\* / , -\n============= =========== ================= ============== ===========================\n\nIf your cron entry has 5 values, minutes-day of week are used, default seconds\nis and default year is appended. If your cron entry has 6 values, minutes-year\nare used, and default seconds are prepended.\n\nAs such, only 5-7 value crontab entries are accepted (and mangled to 7 values,\nas necessary).\n\n\nSample individual crontab fields\n================================\n\nExamples of supported entries are as follows::\n\n *\n */5\n 7/8\n 3-25/7\n 3,7,9\n 0-10,30-40/5\n\nFor month or day of week entries, 3 letter abbreviations of the month or day\ncan be used to the left of any optional / where a number could be used.\n\nFor days of the week::\n\n mon-fri\n sun-thu/2\n\nFor month::\n\n apr-jul\n mar-sep/3\n\nInstallation\n============\n\n::\n\n pip install crontab\n\n\nExample uses\n============\n\n::\n\n >>> from crontab import CronTab\n >>> from datetime import datetime\n >>> # define the crontab for 25 minutes past the hour every hour\n ... entry = CronTab('25 * * * *')\n >>> # find the delay from when this was run (around 11:13AM)\n ... entry.next()\n 720.81637899999998\n >>> # find the delay from when it was last scheduled\n ... entry.next(datetime(2011, 7, 17, 11, 25))\n 3600.0\n\n\n\n\nNotes\n=====\n\nAt most one of 'day of week' or 'day of month' can be a value other than '?'\nor '*'. We violate spec here and allow '*' to be an alias for '?', in the case\nwhere one of those values is specified (seeing as some platforms don't support\n'?').\n\nThis module also supports the convenient aliases::\n\n @yearly\n @annually\n @monthly\n @weekly\n @daily\n @hourly\n\nExample full crontab entries and their meanings::\n\n 30 */2 * * * -> 30 minutes past the hour every 2 hours\n 15,45 23 * * * -> 11:15PM and 11:45PM every day\n 0 1 ? * SUN -> 1AM every Sunday\n 0 1 * * SUN -> 1AM every Sunday (same as above)\n 0 0 1 jan/2 * 2011-2013 ->\n midnight on January 1, 2011 and the first of every odd month until\n the end of 2013\n 24 7 L * * -> 7:24 AM on the last day of every month\n 24 7 * * L5 -> 7:24 AM on the last friday of every month\n 24 7 * * Lwed-fri ->\n 7:24 AM on the last wednesday, thursday, and friday of every month", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/josiahcarlson/parse-crontab", "keywords": "", "license": "GNU LGPL v2.1", "maintainer": "", "maintainer_email": "", "name": "crontab", "package_url": "https://pypi.org/project/crontab/", "platform": "", "project_url": "https://pypi.org/project/crontab/", "project_urls": { "Homepage": "https://github.com/josiahcarlson/parse-crontab" }, "release_url": "https://pypi.org/project/crontab/0.22.6/", "requires_dist": null, "requires_python": "", "summary": "Parse and use crontab schedules in Python", "version": "0.22.6" }, "last_serial": 5501746, "releases": { "0.17": [ { "comment_text": "", "digests": { "md5": "1e40ca619e8bfc59f11417171430000a", "sha256": "0b6013732483225f4a0017e123092daa1ab564f6f6d0123647fc95217c37f19e" }, "downloads": -1, "filename": "crontab-0.17.tar.gz", "has_sig": false, "md5_digest": "1e40ca619e8bfc59f11417171430000a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7140, "upload_time": "2013-06-20T06:45:04", "url": "https://files.pythonhosted.org/packages/0c/7c/4b2ea9288d84260aae8e49e5b566be84399aacd31d50da81b44d057aacd8/crontab-0.17.tar.gz" } ], "0.18": [ { "comment_text": "", "digests": { "md5": "e0306b3654d8cf6bd41d8ee7e51516fb", "sha256": "0eab0e8c7621a7b1c034bf3bea37c4038f6df5596f097e1cf91f1dc3000e5983" }, "downloads": -1, "filename": "crontab-0.18.tar.gz", "has_sig": false, "md5_digest": "e0306b3654d8cf6bd41d8ee7e51516fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7159, "upload_time": "2013-10-09T01:38:26", "url": "https://files.pythonhosted.org/packages/d7/21/ee924cb3539f669a0d561a2b5b30f226b6aa175ead3f2457231247e8bb6a/crontab-0.18.tar.gz" } ], "0.19": [ { "comment_text": "", "digests": { "md5": "aa654457f749ec757b14f7213e66ce07", "sha256": "861fc516daa631804a5fd5abffdb947c2ac2480afafdc1361366f07dff8420ac" }, "downloads": -1, "filename": "crontab-0.19.tar.gz", "has_sig": false, "md5_digest": "aa654457f749ec757b14f7213e66ce07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7203, "upload_time": "2014-06-06T16:40:34", "url": "https://files.pythonhosted.org/packages/7f/0c/beea4e7e08878a64449cba5324ab373c8e46815bf20d3778089a1ef1be97/crontab-0.19.tar.gz" } ], "0.20": [ { "comment_text": "", "digests": { "md5": "769e8fb3220ba58cbe8c5b8146dec0f3", "sha256": "c4097ea270df5ac71e81a6d101b5941e24e939f219ba86cee8a1396e19450213" }, "downloads": -1, "filename": "crontab-0.20.tar.gz", "has_sig": false, "md5_digest": "769e8fb3220ba58cbe8c5b8146dec0f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5829, "upload_time": "2014-06-18T05:57:55", "url": "https://files.pythonhosted.org/packages/47/c2/d048cbe358acd693b3ee4b330f79d836fb33b716bfaf888f764ee60aee65/crontab-0.20.tar.gz" } ], "0.20.1": [ { "comment_text": "", "digests": { "md5": "a94834e236c054830ec5fcafa0512c4a", "sha256": "1ea041e96683bf4d528abd90ac8f8035e882fe733d957691ebf5e7f25701b59c" }, "downloads": -1, "filename": "crontab-0.20.1.tar.gz", "has_sig": false, "md5_digest": "a94834e236c054830ec5fcafa0512c4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5911, "upload_time": "2014-12-04T18:07:00", "url": "https://files.pythonhosted.org/packages/e4/91/9fd71eebb13695462f2ab4e24bfcd90fe7084070f8637757df24f3deaf72/crontab-0.20.1.tar.gz" } ], "0.20.2": [ { "comment_text": "", "digests": { "md5": "bab6d523aed5633ce8a1feba470d948a", "sha256": "56c997f04f861a861806958d52b809196152324766374aff3b6ece66de44383f" }, "downloads": -1, "filename": "crontab-0.20.2.tar.gz", "has_sig": false, "md5_digest": "bab6d523aed5633ce8a1feba470d948a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5830, "upload_time": "2014-12-04T22:50:21", "url": "https://files.pythonhosted.org/packages/91/36/17a51a6db610991cc4a9614d69861b3d936ea65f5695b0dddee5f8deb949/crontab-0.20.2.tar.gz" } ], "0.20.3": [ { "comment_text": "", "digests": { "md5": "2409c2fd4b6ff41174f8be223d28cd57", "sha256": "5900f1733cf43c35a717cc411286d788333ee09268bb57ef1a214413037b880e" }, "downloads": -1, "filename": "crontab-0.20.3.tar.gz", "has_sig": false, "md5_digest": "2409c2fd4b6ff41174f8be223d28cd57", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4469, "upload_time": "2015-11-06T05:25:28", "url": "https://files.pythonhosted.org/packages/4b/17/fbadb09a32bd50e1b3ff4dbabd8d4b3c95c048bfd47a7cb3d9a406cb2229/crontab-0.20.3.tar.gz" } ], "0.20.4": [ { "comment_text": "", "digests": { "md5": "b5f89fe1843b708a06f770d544d85cb8", "sha256": "521b461f7d81437b0618c29f49a5ac1e201a889fda1742802edd30d2b87feddb" }, "downloads": -1, "filename": "crontab-0.20.4.tar.gz", "has_sig": false, "md5_digest": "b5f89fe1843b708a06f770d544d85cb8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4489, "upload_time": "2016-01-30T06:29:40", "url": "https://files.pythonhosted.org/packages/e4/3c/975f3f1255f1db1cfadabc978987139f64f01eeca567d92ce0f7b5009700/crontab-0.20.4.tar.gz" } ], "0.20.5": [ { "comment_text": "", "digests": { "md5": "e358955f1662810a7995ac4825d0c647", "sha256": "cbe09ad624bd48544c3c1e69df6869720ccf66039c6ceb6677532a07fe13d6eb" }, "downloads": -1, "filename": "crontab-0.20.5.tar.gz", "has_sig": false, "md5_digest": "e358955f1662810a7995ac4825d0c647", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4711, "upload_time": "2016-02-12T06:41:12", "url": "https://files.pythonhosted.org/packages/42/ae/7fdad7129878b5bb24bea349e2aff194080b66ed2196d4742a1a4b589792/crontab-0.20.5.tar.gz" } ], "0.21.0": [ { "comment_text": "", "digests": { "md5": "017aa8a4ebc488755911ee908a6ac51d", "sha256": "13b5cf2951d814e396c1f36c1430a3085c1e6e17c657abf4f0d1e16565599ceb" }, "downloads": -1, "filename": "crontab-0.21.0.tar.gz", "has_sig": false, "md5_digest": "017aa8a4ebc488755911ee908a6ac51d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5208, "upload_time": "2016-03-20T05:21:06", "url": "https://files.pythonhosted.org/packages/93/3c/7e149a8cf701b32bffe7d91750b93f418f5ab3dfee88d53f496264604a07/crontab-0.21.0.tar.gz" } ], "0.21.1": [ { "comment_text": "", "digests": { "md5": "9e3277fbc7d222f57655aa4235eeb186", "sha256": "33f85c14715bf7c32d274b680ab62a45ff4788cee3e904de78fe7a9850f3fbfd" }, "downloads": -1, "filename": "crontab-0.21.1.tar.gz", "has_sig": false, "md5_digest": "9e3277fbc7d222f57655aa4235eeb186", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5211, "upload_time": "2016-03-20T05:45:24", "url": "https://files.pythonhosted.org/packages/c0/0a/56092f2592461147a143688cc6c7ceb034007a16916bfec424492c756bf1/crontab-0.21.1.tar.gz" } ], "0.21.2": [ { "comment_text": "", "digests": { "md5": "9ec144769ecf71c888859b3616331f8b", "sha256": "105e4d8cda7b2248e27844270d519bf8d7ad0ede3a9037b0b112a6b641a6a449" }, "downloads": -1, "filename": "crontab-0.21.2.tar.gz", "has_sig": false, "md5_digest": "9ec144769ecf71c888859b3616331f8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5229, "upload_time": "2016-03-22T04:20:38", "url": "https://files.pythonhosted.org/packages/95/c9/5b55f3657dd25e04603a305d7c65b5741a657da83869d0951f47fbc39ac5/crontab-0.21.2.tar.gz" } ], "0.21.3": [ { "comment_text": "", "digests": { "md5": "a0713d683f17f9e59e072e35d7907edb", "sha256": "d39827efab627b6d0afa0e78dbfe7f8214615cba7dd4da0c05f80edc170a568f" }, "downloads": -1, "filename": "crontab-0.21.3.tar.gz", "has_sig": false, "md5_digest": "a0713d683f17f9e59e072e35d7907edb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5176, "upload_time": "2016-03-30T21:38:35", "url": "https://files.pythonhosted.org/packages/31/21/282c047333df1544d4436b9c06ef5644a46b4825a93177a9b6462a1e05b9/crontab-0.21.3.tar.gz" } ], "0.22.0": [ { "comment_text": "", "digests": { "md5": "67bb9610174b719a439859199be0e09b", "sha256": "9b3f69d9c882a71ebf6395838290913428f13888af822574dc4d2ee12a9a01ba" }, "downloads": -1, "filename": "crontab-0.22.0.tar.gz", "has_sig": false, "md5_digest": "67bb9610174b719a439859199be0e09b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5443, "upload_time": "2017-11-07T17:42:15", "url": "https://files.pythonhosted.org/packages/30/6b/21605fb97d54d551e5d228bbd96e21db7a7f1429602f3fe2256a64d7418f/crontab-0.22.0.tar.gz" } ], "0.22.1": [ { "comment_text": "", "digests": { "md5": "9e367f6a5500abd9613daf79662bd563", "sha256": "cde162f45247e60d038e799c2768507bb461df81ab937ecfa16f44560f7d4103" }, "downloads": -1, "filename": "crontab-0.22.1.tar.gz", "has_sig": false, "md5_digest": "9e367f6a5500abd9613daf79662bd563", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17553, "upload_time": "2018-04-13T04:20:36", "url": "https://files.pythonhosted.org/packages/3e/d4/35a6dbba1d4a08c09b3eda36f2e9fbf999c13e065566ffeaa58a532b682a/crontab-0.22.1.tar.gz" } ], "0.22.2": [ { "comment_text": "", "digests": { "md5": "3f04fcbf6893c5331b9069f47dc10f53", "sha256": "20ba372d63e9840c69d53c88805a0f91c67200258946b22cff4efee59817e104" }, "downloads": -1, "filename": "crontab-0.22.2.tar.gz", "has_sig": false, "md5_digest": "3f04fcbf6893c5331b9069f47dc10f53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18990, "upload_time": "2018-06-21T16:42:03", "url": "https://files.pythonhosted.org/packages/60/72/66aa4179de0b416bfd67e11e196474a2c586608554ad493589ac2f90d1be/crontab-0.22.2.tar.gz" } ], "0.22.3": [ { "comment_text": "", "digests": { "md5": "91e63d79009bcbb3ad50c0f31bee1b34", "sha256": "69bd985d486bad7b1efb55e1f167e5dd95b11380d73ff896dca59802a20ffd99" }, "downloads": -1, "filename": "crontab-0.22.3.tar.gz", "has_sig": false, "md5_digest": "91e63d79009bcbb3ad50c0f31bee1b34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19617, "upload_time": "2018-11-08T22:26:05", "url": "https://files.pythonhosted.org/packages/51/0a/7c1e4be92ed24e26fddefd5950aff828b32ff443ddc7357d65c7fd5bbc93/crontab-0.22.3.tar.gz" } ], "0.22.4": [ { "comment_text": "", "digests": { "md5": "64d109ed2c0ec2d5a77f641a90db1d74", "sha256": "a0bab29fac514677b394639861ace8fc8e8dbfa69b0a65c8ee0eb115a7fb81ef" }, "downloads": -1, "filename": "crontab-0.22.4.tar.gz", "has_sig": false, "md5_digest": "64d109ed2c0ec2d5a77f641a90db1d74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19671, "upload_time": "2018-11-20T21:50:09", "url": "https://files.pythonhosted.org/packages/8f/d0/681f9bfe9542d8faff5146e8d5b8f052124115263704682cfa27f1352c7e/crontab-0.22.4.tar.gz" } ], "0.22.5": [ { "comment_text": "", "digests": { "md5": "48a78bf11b48e8d1e1f4b7f9e338c728", "sha256": "4cdd1dea8d7fda6671a53a3923708c79691d05aebee7fbfd77493643614c3916" }, "downloads": -1, "filename": "crontab-0.22.5.tar.gz", "has_sig": false, "md5_digest": "48a78bf11b48e8d1e1f4b7f9e338c728", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19742, "upload_time": "2019-02-03T03:39:25", "url": "https://files.pythonhosted.org/packages/a9/fa/4ce5fee163315a96e9b4453d51cf1d869c1677663cccebf0abb79576766c/crontab-0.22.5.tar.gz" } ], "0.22.6": [ { "comment_text": "", "digests": { "md5": "c43c134a8ae52f3a901afa8573d0672f", "sha256": "c8b4dd666e86c14ba2edf58cdd69066f4e424ff51b9af1188f43e421f5b1ecb8" }, "downloads": -1, "filename": "crontab-0.22.6.tar.gz", "has_sig": false, "md5_digest": "c43c134a8ae52f3a901afa8573d0672f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19824, "upload_time": "2019-07-08T15:35:01", "url": "https://files.pythonhosted.org/packages/34/d5/bb03cbf908865e6ffb7a436d9ba2bdd4194f6702519d37a5ff57fb32c3c6/crontab-0.22.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c43c134a8ae52f3a901afa8573d0672f", "sha256": "c8b4dd666e86c14ba2edf58cdd69066f4e424ff51b9af1188f43e421f5b1ecb8" }, "downloads": -1, "filename": "crontab-0.22.6.tar.gz", "has_sig": false, "md5_digest": "c43c134a8ae52f3a901afa8573d0672f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19824, "upload_time": "2019-07-08T15:35:01", "url": "https://files.pythonhosted.org/packages/34/d5/bb03cbf908865e6ffb7a436d9ba2bdd4194f6702519d37a5ff57fb32c3c6/crontab-0.22.6.tar.gz" } ] }