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

Uploaded Source

Built Distribution

unix_at-0.2-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: unix-at-0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for unix-at-0.2.tar.gz
Algorithm Hash digest
SHA256 10d5d9dbaba5a87473697a08195e7fa988fee8202b2932845bdd637f320911be
MD5 9d4a9a64aa7cb93e143b128197d7ddc9
BLAKE2b-256 6d698afa4eca577f132aeb084682fd7df7d9cfa632a4a983cd88728454d6f8e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unix_at-0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1eda3e7229923d06fde85aa17f5e9df29be7da97da49083e31cf400d8eb1a19e
MD5 c6e4d309a6ae3ebbe406b74409626004
BLAKE2b-256 45eebeed5aea3df39b7a5ab8e37f596ee93c4181cc7e327b68fa4f4fd6f66ea5

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