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.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

unix_at-1.1.2-py2.py3-none-any.whl (5.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: unix-at-1.1.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for unix-at-1.1.2.tar.gz
Algorithm Hash digest
SHA256 b3baa7db465cbc8bb65821646bb604cf104d690bc65259d1d047016d499161e9
MD5 50a4a3f34eb5f33c0230cd6680321545
BLAKE2b-256 3e90ee2472a3cbf18f6c869ef1bbc99ae8ba0ea88b30d431d1af5143ff54d859

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unix_at-1.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for unix_at-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 826cad7eb23a71a212ebe15cdf30b95bf7fd4efd41441c9ae71d0dc8312a90de
MD5 159d6d32d5e1f5a93711d046d932cec4
BLAKE2b-256 189057bcdee3f0565855b86da61f05fecf0b4f64f04b53fb63d836e9ce0887b8

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