Перенос в микроприложение
This commit is contained in:
		
							
								
								
									
										18
									
								
								config/console.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								config/console.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
<?php
 | 
			
		||||
return [
 | 
			
		||||
    'id'                    => 'Dumper',
 | 
			
		||||
    'controllerNamespace'   => 'app\controllers',
 | 
			
		||||
    'basePath'              => dirname(__DIR__),
 | 
			
		||||
    'params' => [
 | 
			
		||||
        'basePath'              => dirname(__DIR__) . '/dumps',
 | 
			
		||||
        'pagesPath'             => '/pages',
 | 
			
		||||
        'docsPath'              => '/data',
 | 
			
		||||
        'imgPath'               => '/img',
 | 
			
		||||
        'cssPath'               => '/css',
 | 
			
		||||
        'jsPath'                => '/js',
 | 
			
		||||
        'externalLinksPath'     => '/sites',
 | 
			
		||||
        'timezone'              => 'Asia/Vladivostok',
 | 
			
		||||
        'useragent'             => 'Dumper',
 | 
			
		||||
        'regBlackList'          => '(instagram|whatsapp|appdv)'
 | 
			
		||||
    ]
 | 
			
		||||
];
 | 
			
		||||
							
								
								
									
										6
									
								
								config/schedule.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								config/schedule.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
/**
 | 
			
		||||
 * @var \omnilight\scheduling\Schedule $schedule
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
$schedule->command('dump http://expertise.27pro.ru// 5 50')->dailyAt('03:00');
 | 
			
		||||
		Reference in New Issue
	
	Block a user