Skip to content

Instantly share code, notes, and snippets.

@ronanguilloux
Created November 10, 2015 17:02
Show Gist options
  • Save ronanguilloux/76f0118d477e8a866fa9 to your computer and use it in GitHub Desktop.
Save ronanguilloux/76f0118d477e8a866fa9 to your computer and use it in GitHub Desktop.
akeneo:batch:job
~/pim$ php app/console akeneo:batch:job --help
Usage:
  akeneo:batch:job [options] [--] <code> [<execution>]

Arguments:
  code                     Job instance code
  execution                Job execution id

Options:
  -c, --config=CONFIG      Override job configuration (formatted as json. ie: php app/console akeneo:batch:job -c '[{"reader":{"filePath":"/tmp/foo.csv"}}]' acme_product_import)
      --email=EMAIL        The email to notify at the end of the job execution
      --no-log             Don't display logs
  -h, --help               Display this help message
  -q, --quiet              Do not output any message
  -V, --version            Display this application version
      --ansi               Force ANSI output
      --no-ansi            Disable ANSI output
  -n, --no-interaction     Do not ask any interactive question
  -s, --shell              Launch the shell.
      --process-isolation  Launch commands from shell as a separate process.
  -e, --env=ENV            The Environment name. [default: "dev"]
      --no-debug           Switches off debug mode.
      --client=CLIENT      The client. [default: "default"]
  -v|vv|vvv, --verbose     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
@LaureBrosseau
Copy link

it's also possible to use --user=[username] to have the user displayed in the UI

@alecourtes
Copy link

Hi,

Are you sure it is possible to launch job with --user parameter ? It seems not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment