A package that allows to verify the parameters of a crontab expression.
Project description
Crontab Expression: https://crontab.guru/.
vifcroexp library will allow you to check if the crontab parameters are correct. you need to follow the order of the schedule expression like in the web site: (minute, hour, day_month, month, day_week)
-
minute: allowed values 0-59.
-
hour: allowed values 0-23.
-
day_month: allowed values 1-31.
-
month: allowed values 1-12.
-
day_week: allowed values 1-7.
-
'*' any value.
Parameter:
- crontab_parameter => need to be a string.
Return:
- If the parameters are valid, otherwise it will raise an error: 'Parameters are not correct'.
>>> from croexp import vifcroexp
>>> vifcroexp("*,0,1,4,4")
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 croexp-0.0.1.tar.gz.
File metadata
- Download URL: croexp-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
536c4d5a343d1fd1b26de8a8480eb1f5b17124aa3a1c36ad180df846f324e5f2
|
|
| MD5 |
eafe288bc6d7734e9fb6bb8bbcdfe729
|
|
| BLAKE2b-256 |
91741a0ecb5da2df31788274cc3f218e55d2cc375d388c3e6511d7abf5ec07ec
|
File details
Details for the file croexp-0.0.1-py3-none-any.whl.
File metadata
- Download URL: croexp-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0f5c63d4887f59a87ba41423a16bd4c975faad59ae97ec8bb82a7caf0c44cea
|
|
| MD5 |
c297883a703d7c8ed2f9af6f4e479dbd
|
|
| BLAKE2b-256 |
facde099b029c8191bf1809795e18588fb8a9019dfe65fb681ce2ce2c1eb745b
|