Skip to main content

crontab for windows

Project description

crontab-win

PyPI Changelog Tests License

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crontab_win-0.0.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

crontab_win-0.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

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

Hashes for crontab_win-0.0.1.tar.gz
Algorithm Hash digest
SHA256 214160bf2d8e535c3bf5a377763fad79225f1824aac702df1b0b428c0da70b7d
MD5 6980df5c7a57ef7f743cd28e0d308d31
BLAKE2b-256 7f52a8d2c48f4d4ee1db940b3f75585f033115821393bb701ab540f1e7cc784d

See more details on using hashes here.

Provenance

The following attestation bundles were made for crontab_win-0.0.1.tar.gz:

Publisher: publish.yml on sukhbinder/crontab-win

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for crontab_win-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c728c4323417a342b001b7f767b519dd163206bc6bcae1aefdb9ae9aec5471
MD5 0bc1bfb8eeb80968331ffdfcb4e33886
BLAKE2b-256 08e1ced132258e3470fa536bb4857dfe430364f4b9d6d5c92cadf22769b0d46c

See more details on using hashes here.

Provenance

The following attestation bundles were made for crontab_win-0.0.1-py3-none-any.whl:

Publisher: publish.yml on sukhbinder/crontab-win

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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