...
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 |
Here's an example:
No Format |
---|
php ezpublish/console ezpublish: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:
...