exp:ezexec
Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.
Summary
Run a PHP script with the Exponential bootstrap done: ezexec.php myscript.php
Usage
./console exp:ezexec [options] php bin/php/ezexec.php [options]
Help
The output of ./console help exp:ezexec (the script run with --help), without the standard options:
Usage: bin/php/ezexec.php [OPTION]... [SCRIPTFILE] Exponential Script Executor Allows execution of simple PHP scripts which use Exponential functionality, when the script is called all necessary initialization is done ezexec.php myscript.php
Standard options
Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.
Source
bin/php/ezexec.php, kernel/private/classes/commands/ezexec.php
See also
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment