Before you start

Console commands run on the institution’s server, from the etSIS project directory, under an authorized operator account. Use the configured PHP runtime; DDEV examples use ddev codex.

What to do

  1. Use the command list to find a supported operation, then read that command’s help.
  2. Check the selected installation and the effect of the specific options before running it.
  3. Choose a small work limit where the command offers one, and follow its saved status rather than rerunning blindly.
  4. For effects such as sending email or creating meetings, use the documented confirmation option only when that work is intended.
  5. Keep tokens, passwords and private message content out of command arguments, copied output and public support threads.

What happens next

Different commands have different contracts. --apply is required by some operations, but omitting it is not a universal dry-run rule; the import worker is an example that can do work without that flag.

Find a command and its help

Run these from the DDEV project directory. On a non-DDEV installation, use the institution’s configured PHP executable followed by codex and the same command arguments.

Console command
ddev codex list
ddev codex help sis:maintenance

Preview expired setup-notice cleanup

This previews expired account-setup notice cleanup. Review the institution’s grace and retention rules before using its separate --apply option; the cleanup does not delete the person or their academic history.

Console command
ddev codex sis:accounts:prune-setup --json

Preview expired sign-in support cleanup

This previews a bounded cleanup batch of expired sign-in support references. Read its help and the institution’s grace policy before using the separate --apply action. It does not remove academic records.

Console command
ddev codex sis:auth:prune-sessions