Navigation
Exponential Platform Documentation
 

This is outdated documentation made for Exponential Platform 5.1. It is being moved into the Exponential 5.x documentation, so please go there for most up-to-date documentation.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you want to access the script's help please be aware that you will need to use the newly introduced --legacy-help option, since --help is already reserved for the CLI help.

Note

The --legacy-help option should be added before the path to the script for this to work.


Here's an example:

No Format
php exponential/console exponential:legacy:script --legacy-help bin/php/ezpgenerateautoloads.php --legacy-help

The same logic will apply for cronjob execution.
Legacy cronjobs are triggered by the runcronjobs.php legacy script, which expects the name of the cronjob to run as a parameter.
This is how you can run cronjobs from the Symfony CLI:

...