4 responses to “symfony init-batch”

  1. Blackhatseo

    I like the layout here, anyways, my blog is dofollow, come get a link. Bobby.

  2. Dave Smith

    Hi!
    Thanks for this tip!

    In the symfony book, it’s written:
    ” The symfony CLI offers an init-batch task, which automatically creates a skeleton similar to the one in Listing 6-3 in the batch/ directory. Just pass it an application name, an environment name, and a batch name as arguments.”
    on the page: http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer#Batch Files

    Thanks to your post, I didn’t have to search the code to understand the arguments needed by the init-batch script.

    Thanks a lot!
    Dave

  3. Suresh

    Hi Rajat,

    How do I run these batch scripts?

    Can I run these from the command prompt using :
    >php batch/FileName.php

    or Should I use cron to run them ?

    Please explain.

    Thanks.

    Suresh

Leave a Reply