Log in
Model

ServiceShellUser

Magento\NewRelicReporting\Model\ServiceShellUser

What it does

This class determines the system user executing Magento shell commands or cron jobs for New Relic reporting purposes.

It attempts to identify the current user and falls back to 'cron' as the default user name when the user cannot be determined.

Developers would use this to track which system user is running background processes in New Relic.

Public Methods

  • get()