Registry / workflow / cronex

cronex

JSON →
library0.1.3.1pypypi✓ verified 84d ago

Provides an easy-to-use interface for cron-like task scheduling. Version 0.1.3.1. Release cadence is low, no recent updates.

pip install cronex
INSTALL
IMPORT
SIG · CRONEX
C
cronex
workflowpythonv0.1.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CronExpression
from cronex import CronExpression
from cronex import CronEx

Create a CronEx instance with a cron expression and call test() to check if the current time matches.

import time from cronex import CronEx cron = CronEx('*/5 * * * *') while True: if cron.test(): print("Task triggered") time.sleep(60)
Debug
Known issues
breakingThe package is no longer actively maintained. It may not work with newer Python versions beyond 3.x.
fix
Consider alternatives like 'croniter' or 'python-crontab'.
affects: >= 0.1.3.1
gotchaThe test() method only works with minute-level granularity. It does not support seconds.
fix
Ensure your cron expression has 5 fields (minute hour day month weekday).
affects: all
gotchaThe library does not handle timezones. All times are assumed to be local.
fix
Manually convert times to local timezone before using.
affects: all
Upgrade
Version history
0.1.3.1latest on PyPI · released Nov 4, 2018
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources
cronex — pip install cronex · libregistry