for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Notamedia\ConsoleJedi\Agent\Command;
use Bitrix\Main\Config\Option;
use Notamedia\ConsoleJedi\Application\Command\BitrixCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
* Installation configurations for run Agents on cron.
*
* @author Nik Samokhvalov <[email protected]>
class OnCronCommand extends BitrixCommand
{
* {@inheritdoc}
protected function configure()
parent::configure();
$this->setName('agent:on-cron')
->setDescription('Installation configurations for run Agents on cron');
}
protected function execute(InputInterface $input, OutputInterface $output)
Option::set('main', 'agents_use_crontab', 'N');
Option::set('main', 'check_agents', 'N');