Command line interface

The cli file is a PHP script which is used to run Ember's command line interface. It can be executed using PHP from the command lineopen in new window in the directory in which Ember is installed.

Listing commands

php cli

Maintenance mode

Entering

php cli down

Exiting

php cli up

WARNING

Database migrations are not run automatically when maintenance mode is active.

Database migrations

Running manually

php cli db:migrate

Task scheduler

Invoking once

This command should be run once every minute using a job scheduler.

php cli schedule:run 

Invoking repeatedly

Invokes the scheduler at the start of every minute. Intended for development.

php cli schedule:work