schedule_all() публичный Метод

Sets the interval for all text_reparser cron tasks
public schedule_all ( integer $interval )
$interval integer Interval in seconds, 0 to disable the cron task
Пример #1
0
 public function test_schedule_all()
 {
     $this->reparser_manager->schedule_all(180);
     $this->assertEquals(180, $this->config['test_reparser_cron_interval']);
     $this->assertEquals(180, $this->config['my_reparser_cron_interval']);
     $this->assertArrayNotHasKey('another_reparser_cron_interval', $this->config);
 }