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

for job in unix_at.list_jobs():
    print(job.name, job.time)

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unix_at-1.2.1-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file unix_at-1.2.1.tar.gz.

File metadata

  • Download URL: unix_at-1.2.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for unix_at-1.2.1.tar.gz
Algorithm Hash digest
SHA256 bc108d927152984eb7158af3fbbde8442e74f85089012acfd21378186d79fd5c
MD5 2009c2e0711560ed105ff805066de92b
BLAKE2b-256 14ca0134d859d5345b5155c59d749e8d421493b1c93a33561aebbb051ef9b697

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unix_at-1.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for unix_at-1.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 95adb2afdfe4428f42f8e27b9447104c9fe7bd9409c3476de3a372e20dd76f18
MD5 31833b0646fa996c4b074343986d5815
BLAKE2b-256 340fb26321c554db7628bfb291155a131e55a5f9e2ff664c744c739b515ba7f1

See more details on using hashes here.

Supported by

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