Skip to main content

Talk to the at(1) daemon, to schedule jobs for later

Project description

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 if you are running very few jobs, however the performance will be much lower if you are running a considerable amount of tasks.

Example

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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unix-at-1.1.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

unix_at-1.1.1-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file unix-at-1.1.1.tar.gz.

File metadata

  • Download URL: unix-at-1.1.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for unix-at-1.1.1.tar.gz
Algorithm Hash digest
SHA256 ca308a9d4b8d63298f0085db670d4fc079553a4f914839c94a58b111c5b01bdf
MD5 db01cbdd1b94e5d5b9ccf35f5acf0ee5
BLAKE2b-256 9cd756430dc6e1708078dedab6d867221475835b15eceea27da56d01075cf63a

See more details on using hashes here.

File details

Details for the file unix_at-1.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: unix_at-1.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for unix_at-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 94b4b42b86c02dbde0175397cebef9c89e667a3a843e50c29a70061c8a7701aa
MD5 951f9764834cdf50601e62d8bc2fa8e4
BLAKE2b-256 60252cb5944d61714f49f13673df23a4d27d6c07b66f29aabd39e666d9830867

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page