PHP code example of padam87 / cron-bundle

1. Go to this page and download the library: Download padam87/cron-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/ */

    

padam87 / cron-bundle example snippets


#[Job(minute: '5', hour: '0')]
class MyCommand extends Command

#[Job(minute: '5',hour: '0', group: 'master')]
class MyCommand extends Command

#[Job(minute: '5', hour: '0', logFile: 'my-command.log')]
class MyCommand extends Command