phpBB Console version 3.2.9
Usage:
command [options] [arguments]
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
--safe-mode Run in Safe Mode (without extensions).
-e, --env=ENV The Environment name.
-s, --shell Launch the shell.
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
help Displays help for a command
list Lists commands
cache
cache:purge Purge the cache
config
config:delete Deletes a configuration option
config:get Gets a configuration option’s value
config:increment Increments a configuration option’s integer value
config:set Sets a configuration option’s value
config:set-atomic Sets a configuration option’s value only if the old matches the current value
cron
cron:list Prints a list of ready and unready cron jobs.
cron:run Runs all ready cron tasks.
db
db:list List all installed and available migrations.
db:migrate Updates the database by applying migrations.
db:revert Revert a migration.
dev
dev:migration-tips Finds migrations that are not depended upon.
extension
extension:disable Disables the specified extension.
extension:enable Enables the specified extension.
extension:purge Purges the specified extension.
extension:show Lists all extensions in the database and on the filesystem.
fixup
fixup:fix-left-right-ids Repairs the tree structure of the forums and modules.
fixup:recalculate-email-hash Recalculates the user_email_hash column of the users table.
fixup:update-hashes Updates outdated password hashes to be hashed with bcrypt.
reparser
reparser:list Lists the types of text that can be reparsed.
reparser:reparse Reparses stored text with the current text_formatter services.
thumbnail
thumbnail:delete Delete all existing thumbnails.
thumbnail:generate Generate all missing thumbnails.
thumbnail:recreate Recreate all thumbnails.
update
update:check Check if the board is up to date.
user
user:activate Activate (or deactivate) a user account.
user:add Add a new user.
user:delete Delete a user account.
user:reclean Re-clean usernames.
จากนั้นเรา รัน
โค้ด: เลือกทั้งหมด
C:\xampp\htdocs\thaivi_code>php bin/phpbbcli.php cron
[RuntimeException]
Could not obtain cron lock.
[phpbb\exception\runtime_exception]
CRON_LOCK_ERROR
cron:run [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [--safe-mode] [-e|--env ENV] [--] <command> [<name>]