crontab for windows
Project description
crontab-win
crontab for windows. Add crontab entries in a textfile and then this programs are executed as per schedule.
To use this, crontab show this will open the crontab.txt.
add entry to to it as below
* * * * * notepad
This will open notepad every minute
Installation
Install this tool using pip:
pip install crontab-win
Usage
For help, run:
crontab --help
You can also use:
python -m crontab --help
crontab syntax
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12)
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;
# │ │ │ │ │ 7 is also Sunday on some systems)
# │ │ │ │ │
# │ │ │ │ │
# * * * * * command to execute
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd crontab-win
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crontab_win-0.0.1.tar.gz.
File metadata
- Download URL: crontab_win-0.0.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
214160bf2d8e535c3bf5a377763fad79225f1824aac702df1b0b428c0da70b7d
|
|
| MD5 |
6980df5c7a57ef7f743cd28e0d308d31
|
|
| BLAKE2b-256 |
7f52a8d2c48f4d4ee1db940b3f75585f033115821393bb701ab540f1e7cc784d
|
Provenance
The following attestation bundles were made for crontab_win-0.0.1.tar.gz:
Publisher:
publish.yml on sukhbinder/crontab-win
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crontab_win-0.0.1.tar.gz -
Subject digest:
214160bf2d8e535c3bf5a377763fad79225f1824aac702df1b0b428c0da70b7d - Sigstore transparency entry: 157193720
- Sigstore integration time:
-
Permalink:
sukhbinder/crontab-win@103c69889e69546d78d8478160164fef4fcaedde -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@103c69889e69546d78d8478160164fef4fcaedde -
Trigger Event:
release
-
Statement type:
File details
Details for the file crontab_win-0.0.1-py3-none-any.whl.
File metadata
- Download URL: crontab_win-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1c728c4323417a342b001b7f767b519dd163206bc6bcae1aefdb9ae9aec5471
|
|
| MD5 |
0bc1bfb8eeb80968331ffdfcb4e33886
|
|
| BLAKE2b-256 |
08e1ced132258e3470fa536bb4857dfe430364f4b9d6d5c92cadf22769b0d46c
|
Provenance
The following attestation bundles were made for crontab_win-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on sukhbinder/crontab-win
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crontab_win-0.0.1-py3-none-any.whl -
Subject digest:
b1c728c4323417a342b001b7f767b519dd163206bc6bcae1aefdb9ae9aec5471 - Sigstore transparency entry: 157193722
- Sigstore integration time:
-
Permalink:
sukhbinder/crontab-win@103c69889e69546d78d8478160164fef4fcaedde -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@103c69889e69546d78d8478160164fef4fcaedde -
Trigger Event:
release
-
Statement type: