cleanuppolicies.php
Summary
Remove database policies defined on module which do not exist in a modules folderLocation
./bin/php/cleanuppolicies.phpParameters
allow-root-user
colors
debug
dry-run
help
logfiles
no-colors
quiet
siteaccess
verbose
-r,--allow-root-user
Allows your root user to run the ezcache.php script. The usage of this parameter is only recommended for advanced users. With great power comes great responsibility.
-c,--colors
Display output using ANSI colors (default)
Use --no-colors to not use ANSI coloring.
-d[<option>[,<option2>...]], --debug[=<option>[,<option2>...]]
Output debug information. The following options can be used to control what the debug output should include: "all" (everything), "accumulator" (accumulators), "include" (included files), "timing" (timing points), "error" (errors), "warning" (warnings), "notice" (notices).
--dry-run
Test mode, output the list of affected policies without removing them
-h,--help
Display help and exit.
--logfiles
Generate log files. This parameter must be used together with the debug parameter ("-d" or "--debug"). The log files (for example "warning.log") will be stored in the "var/log" directory of the eZ Publish installation.
--no-colors
Do not use ANSI colors when generating debug output.
-q,--quiet
Do not give any output except when errors occur.
-s,--siteaccess
Selected siteaccess for operations, if not specified default siteaccess is used.
-v, --verbose
Output verbose / additional information.
Description
Allows your root user to run the ezcache.php script. The usage of this parameter is only recommended for advanced users. With great power comes great responsibility.
Display output using ANSI colors (default)
Use --no-colors to not use ANSI coloring.
-d[<option>[,<option2>...]], --debug[=<option>[,<option2>...]]
Output debug information. The following options can be used to control what the debug output should include: "all" (everything), "accumulator" (accumulators), "include" (included files), "timing" (timing points), "error" (errors), "warning" (warnings), "notice" (notices).
--dry-run
Test mode, output the list of affected policies without removing them
-h,--help
Display help and exit.
--logfiles
Generate log files. This parameter must be used together with the debug parameter ("-d" or "--debug"). The log files (for example "warning.log") will be stored in the "var/log" directory of the eZ Publish installation.
--no-colors
Do not use ANSI colors when generating debug output.
-q,--quiet
Do not give any output except when errors occur.
-s,--siteaccess
Selected siteaccess for operations, if not specified default siteaccess is used.
-v, --verbose
Output verbose / additional information.
Description
Output debug information. The following options can be used to control what the debug output should include: "all" (everything), "accumulator" (accumulators), "include" (included files), "timing" (timing points), "error" (errors), "warning" (warnings), "notice" (notices).
Test mode, output the list of affected policies without removing them
-h,--help
Display help and exit.
--logfiles
Generate log files. This parameter must be used together with the debug parameter ("-d" or "--debug"). The log files (for example "warning.log") will be stored in the "var/log" directory of the eZ Publish installation.
--no-colors
Do not use ANSI colors when generating debug output.
-q,--quiet
Do not give any output except when errors occur.
-s,--siteaccess
Selected siteaccess for operations, if not specified default siteaccess is used.
-v, --verbose
Output verbose / additional information.
Description
Display help and exit.
Generate log files. This parameter must be used together with the debug parameter ("-d" or "--debug"). The log files (for example "warning.log") will be stored in the "var/log" directory of the eZ Publish installation.
--no-colors
Do not use ANSI colors when generating debug output.
-q,--quiet
Do not give any output except when errors occur.
-s,--siteaccess
Selected siteaccess for operations, if not specified default siteaccess is used.
-v, --verbose
Output verbose / additional information.
Description
Do not use ANSI colors when generating debug output.
Do not give any output except when errors occur.
-s,--siteaccess
Selected siteaccess for operations, if not specified default siteaccess is used.
-v, --verbose
Output verbose / additional information.
Description
Selected siteaccess for operations, if not specified default siteaccess is used.
Output verbose / additional information.
Description
Remove from database policies defined on module which do not exist in a modules folder according to settings from module.ini/[ModuleSettings]/ExtensionRepositories
Sarah Haïm-Lubczanski (19/05/2014 1:27 pm)
Sarah Haïm-Lubczanski (20/05/2014 12:03 pm)
Comments
There are no comments.