protected function execute($arguments = array(), $options = array())
  {
    if ( !$options['appmin'] || !$options['appmax'] || ($options['appmin'] > $options['appmax']))
    {
      throw new Exception("invalid option: ");
    }

    $databaseManager = new sfDatabaseManager($this->configuration);
    $this->conn = $databaseManager->getDatabase('doctrine')->getDoctrineConnection();

    $applist = range($options['appmin'], $options['appmax']);
    foreach ($applist as $application_id)
    {
      $sql = 'SELECT id FROM application WHERE id = ?';
      $where = array(intval($application_id));
      $app = $this->conn->fetchOne($sql, $where);
      if (!$app)
      {
        $application = new Application();
        $application->setUrl("http://");
        $application->setIsMobile('1');
        $application->setIsPc('0');
        $application->save();
        $application->free();
        $this->logSection('application', sprintf("%s", $application_id));
      }
    }

  }