unix-at


Nameunix-at JSON
Version 1.2 PyPI version JSON
download
home_pagehttps://github.com/remram44/unix-at
SummaryTalk to the at(1) daemon, to schedule jobs for later
upload_time2023-10-11 20:36:12
maintainerRemi Rampin
docs_urlNone
authorRemi Rampin
requires_python
licenseBSD-3-Clause
keywords unix at atq job jobs schedule scheduling later delay defer deferred queue task
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            unix-at
=======

This tiny library allows you to talk to the `at(1)` system, available on most UNIX machines, to schedule jobs to be run later.

Using `at(1)` can be much more light-weight than running a full-fledged job-processing system such as `Celery <http://www.celeryproject.org/>`__ if you are running very few jobs, however the performance will be much lower if you are running a considerable amount of tasks.

Example
-------

..  code-block:: python

    import unix_at

    job = unix_at.submit_shell_job(['touch', '/some/file'])
    unix_at.cancel_job(job)
    job = unix_at.submit_python_job(os.mkdir, 'now + 1 hour', '/some/dir')

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/remram44/unix-at",
    "name": "unix-at",
    "maintainer": "Remi Rampin",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "remirampin@gmail.com",
    "keywords": "unix,at,atq,job,jobs,schedule,scheduling,later,delay,defer,deferred,queue,task",
    "author": "Remi Rampin",
    "author_email": "remirampin@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/42/b4/55421e7c09531f2b7db5e977bafe6afab9b34c88e4651261b59037923c31/unix-at-1.2.tar.gz",
    "platform": null,
    "description": "unix-at\n=======\n\nThis tiny library allows you to talk to the `at(1)` system, available on most UNIX machines, to schedule jobs to be run later.\n\nUsing `at(1)` can be much more light-weight than running a full-fledged job-processing system such as `Celery <http://www.celeryproject.org/>`__ if you are running very few jobs, however the performance will be much lower if you are running a considerable amount of tasks.\n\nExample\n-------\n\n..  code-block:: python\n\n    import unix_at\n\n    job = unix_at.submit_shell_job(['touch', '/some/file'])\n    unix_at.cancel_job(job)\n    job = unix_at.submit_python_job(os.mkdir, 'now + 1 hour', '/some/dir')\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Talk to the at(1) daemon, to schedule jobs for later",
    "version": "1.2",
    "project_urls": {
        "Documentation": "https://unix-at.readthedocs.io/",
        "Homepage": "https://github.com/remram44/unix-at",
        "Say Thanks": "https://saythanks.io/to/remram44",
        "Source": "https://github.com/remram44/unix-at",
        "Tracker": "https://github.com/remram44/unix-at/issues"
    },
    "split_keywords": [
        "unix",
        "at",
        "atq",
        "job",
        "jobs",
        "schedule",
        "scheduling",
        "later",
        "delay",
        "defer",
        "deferred",
        "queue",
        "task"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "64e28b2b3d23cf2a58046d840f120538f37a5670b609f5a31081c6f1f07d4c2b",
                "md5": "7388aaeeef928379160cba368d994c60",
                "sha256": "6b6b776d2cee9b8e1a664a468145464baec7c2b2a110fc0982f686c9ccfabe10"
            },
            "downloads": -1,
            "filename": "unix_at-1.2-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7388aaeeef928379160cba368d994c60",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 5777,
            "upload_time": "2023-10-11T20:36:21",
            "upload_time_iso_8601": "2023-10-11T20:36:21.133479Z",
            "url": "https://files.pythonhosted.org/packages/64/e2/8b2b3d23cf2a58046d840f120538f37a5670b609f5a31081c6f1f07d4c2b/unix_at-1.2-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "42b455421e7c09531f2b7db5e977bafe6afab9b34c88e4651261b59037923c31",
                "md5": "7f2231fff225a815960426d1a1510f86",
                "sha256": "d6645bcc5b367da94fbbd83edd10536e39feda9f7f6fed20aa69477a86e61b8f"
            },
            "downloads": -1,
            "filename": "unix-at-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7f2231fff225a815960426d1a1510f86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11748,
            "upload_time": "2023-10-11T20:36:12",
            "upload_time_iso_8601": "2023-10-11T20:36:12.746676Z",
            "url": "https://files.pythonhosted.org/packages/42/b4/55421e7c09531f2b7db5e977bafe6afab9b34c88e4651261b59037923c31/unix-at-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-11 20:36:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "remram44",
    "github_project": "unix-at",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "unix-at"
}
        
Elapsed time: 0.13744s