dev-master
9999999-devMetodo
MIT
The Requires
The Development Requires
by Evgeny Vihnevich
1.0.0
1.0.0.0Metodo
MIT
The Requires
The Development Requires
by Evgeny Vihnevich
 Wallogit.com
                    
                    2017 © Pedro Peláez
                         Wallogit.com
                    
                    2017 © Pedro Peláez
                    
                    
                    
                    
                
                
            
Metodo
This extension provides scheduled task capability Yii framework 2.0., (*1)
The extension allows creating repeatable tasks or one-time tasks in the future., (*2)
Metodo is released under the MIT License. See the bundled LICENSE.md file., (*3)
Metodo consists of two parts: crons and tasks. Cron is a rule to create tasks, they are used to schedule tasks. Tasks, however, are specific instructions, jobs to be performed. Tasks may or may not have a cron., (*4)
Metodo offers a daemon that runs tasks, but you can also run them manually if you know you're doing., (*5)
Add metodo to your config modules, (*6)
    'modules' => [
        'metodo' => [
            'class' => 'enterdev\\metodo\\Module'
        ],
    ]
run on supervisor or similar type of software:, (*7)
yii metodo/scheduler/daemon
The simplest cron that creates a task that will run every day:, (*8)
$dailyJob1 = new MetodoCron(); $dailyJob1->tag = 'System'; $dailyJob1->hour = '0'; $dailyJob1->minute = '0'; $dailyJob1->second = '0'; $dailyJob1->exec_class = 'MockJob'; $dailyJob1->method = 'job1'; $dailyJob1->save();
see MetodoCronTest.php for more examples, (*9)
Metodo
MIT
Metodo
MIT