PHP code example of teknasyon / crond
1. Go to this page and download the library: Download teknasyon/crond library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
teknasyon / crond example snippets
php
$crond->setTimezone('UTC');
php
$crond->setAutoReleaseDeadLocks(true);
php
$locker = new RedisLocker($redisClient, lockTtl: 120, hostHeartbeatTtl: 180);
php
$crond->setProcessProbe(new MyProcessProbe()); // Teknasyon\Crond\ProcessProbe