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 considerate 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.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

unix_at-1.0-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: unix-at-1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.3

File hashes

Hashes for unix-at-1.0.tar.gz
Algorithm Hash digest
SHA256 27e000aed0a5bda0f27b811c72a94f6f93cebd00de201a204e9320b9ce95092f
MD5 18ac873d861880c4584427dcd434c6c2
BLAKE2b-256 ac4c29f9fcf89e1f70ed3c7452c079a5e4631433a2d973e52b09d6bf07a7e4c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unix_at-1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.9 CPython/3.6.3

File hashes

Hashes for unix_at-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 963600783557e6cc209a9f970d2fae059f367248657a032cbea3eccc003f07d0
MD5 d347d60e6ff1f4f8c45b6d701e2ef105
BLAKE2b-256 e489213c5f4e1d223f8c5d6a5badb202e4576efe095d59129887adad03fdc150

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