PHP code example of mybuilder / cronos-bundle
1. Go to this page and download the library: Download mybuilder/cronos-bundle 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/ */
mybuilder / cronos-bundle example snippets
return [
MyBuilder\Bundle\CronosBundle\MyBuilderCronosBundle::class => ['all' => true],
];
use MyBuilder\Bundle\CronosBundle\Annotation\Cron;
/**
* Command for sending our email messages from the database.
*
* @Cron(minute="/5", noLogs=true, server="web")
*/
class SendQueuedEmailsCommand extends Command {}