Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 286 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 286 Bytes

reactphp-x-crontab

install

composer require reactphp-x/crontab -vvv

Usage

<?php
require __DIR__ . '/vendor/autoload.php';

use ReactphpX\Crontab\Crontab;

new Crontab('*/2 * * * * *', function() {
    echo date('Y-m-d H:i:s')."\n";
});

License

MIT