Skip to the content
Documentation

exp:ezexec

No ratings yet

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

Generated example: exp:ezexec

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.