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.2.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file unix-at-1.2.tar.gz
.
File metadata
- Download URL: unix-at-1.2.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6645bcc5b367da94fbbd83edd10536e39feda9f7f6fed20aa69477a86e61b8f |
|
MD5 | 7f2231fff225a815960426d1a1510f86 |
|
BLAKE2b-256 | 42b455421e7c09531f2b7db5e977bafe6afab9b34c88e4651261b59037923c31 |
File details
Details for the file unix_at-1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: unix_at-1.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b6b776d2cee9b8e1a664a468145464baec7c2b2a110fc0982f686c9ccfabe10 |
|
MD5 | 7388aaeeef928379160cba368d994c60 |
|
BLAKE2b-256 | 64e28b2b3d23cf2a58046d840f120538f37a5670b609f5a31081c6f1f07d4c2b |