Hey everyone, Just a little question to add to my understanding of batches... I created a batch with 'symfony init-batch <skeleton> <batch name> <app name>', which creates a file sortof like this in batch/
--- define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..')); define('SF_APP', 'app name'); define('SF_ENVIRONMENT', 'dev'); define('SF_DEBUG', 1); require_once (SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIREC TORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php'); --- I can then add my batch code to this. When run, this batch will run in the dev environment, which is ok while I'm working on my project. Which leads me to my question... When deploying, do I need to change all my batches to the prod environment? Or how is this commonly done? The thing I'm trying to achieve is a symfony batch script that can be run from cron, and would be needed in production after it is developed. Cheers, Alexander Deruwe --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---