PHP code example of dbh / symfony-schedule-bundle
1. Go to this page and download the library: Download dbh/symfony-schedule-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/ */
dbh / symfony-schedule-bundle example snippets
(php)
public function schedule(Schedule $schedule) {
$schedule->command("app:test-command")->dailyAt("12:00");
}