2011-11-16から1日間の記事一覧

1.4でのバッチ処理作成

$ ./symfony generate:task registrant $ vim lib/task/registrantTask.class.php executeメソッドの中身 「setCurrentConnection」でデータベースの接続先を変更している。 バッチの走らせ方 例えば、 $this->namespace = 'batch' $this->name = 'registran…