I can't help much beyond what you've already found out. I do know that I've taken to writing my own batch scripts outside of the symfony structure and loading the necessary classes manually. It tends to be faster and I don't run a-foul of all of the environment settings you mentioned. As you found, there isn't near enough documentation or examples to work through some of the very powerful features or to understand some of the specifics.
Charley Jonathan Bryan wrote: > Thanks for the link. I had seen that and it is a very brief introduction > but not nearly as deep as the rest of the documentation. > > What I'm working towards is a script to generate a fairly large xml file > and upload it to google base. I'd like to use the mvc structure if > possible. I'd also like to keep the script as quick and light as > possible. I think I can get this working by using the getPresentationFor > method, but I've read that there are some problems with this method when > called from a batch file. Also I wonder whether this is an efficient way > of working? > > Also, from Tamcy's post on the development list, it seems that there is > more to know and understand about how to set environments for batch > scripts.... > > http://groups.google.com/group/symfony-devs/browse_thread/thread/68b9dc48653a1332 > > > > > Charley Tiggs wrote: >> Take a look at: >> >> http://www.symfony-project.com/askeet/1_0/3 >> >> Charley >> >> On Oct 1, 2007, at 2:42 PM, Jonathan Bryan wrote: >> >> >>> I need to write some batch scripts and I thought I would check the >>> docs, >>> forum, snippeets, mailing list etc to get a quick lesson on the best >>> batch practices, but I'm not finding much. >>> >>> I tried googling 'symfony batch' and found this page.... >>> >>> http://groups.google.com/group/symfony-devs/browse_thread/thread/ >>> 68b9dc48653a1332 >>> >>> The information that Tamcy provides seems quite important to me but is >>> not in the book (as far as I can see). >>> >>> I guess that I can build a working solution with what I found but >>> for a >>> novice coder like me, the beauty of symfony is that it encourages best >>> practices. As I can't see many examples of batch scripts or docs on >>> their use, I'm not sure if I'm working in the best way. >>> >>> Does anyone know of a resource that I missed? Are there any plans to >>> expand the batch section in the documentation?? >>> >>> Thanks as always, jonathan >>> >>> >> >> > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---