Registry / utility / workerman-crontab

workerman-crontab

JSON →
library1.0.7phppackagistunverified

A crontab written in PHP based on workerman for scheduling tasks.

composer require workerman/crontab
INSTALL
IMPORT
SIG · WORKERMAN-CRONTAB
W
workerman-crontab
utilityphpv1.0.7
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.

Crontab
use Workerman\Crontab\Crontab;

Schedule a cron job

use Workerman\Crontab\Crontab; $crontab = new Crontab(); $crontab->add('*/5 * * * *', function() { echo 'Task executed'; }); $crontab->run();
Debug
Known issues
gotchaRequires Workerman runtime environment.
fix
Ensure Workerman is installed and running.
affects: >=1.0.7
Upgrade
Version history
1.0.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
45 hits · last 30 days
node
38
OpenAI (training)
1
Resources
workerman-crontab — pip install workerman-crontab · libregistry