InactiveAccountsJob
MMO\oauth\jobs · 1 symbol · generated 30 Nov 2026
InactiveAccountsJob
InactiveAccountsJob.php:14Archive the accounts without a login for AccessController::$inactiveAccountDays (AccessController::deactivateInactive), as a job of mmo.core: started from a page (<mmo-job job="...">) once an application declares it in its JobController, or by php admin.php inactive-accounts from a daily crontab line
- Namespace
MMO\oauth\jobs- Extends
- aJob
Index
| Exclusive() static | ||
| run($params) | ||
| Title() static |
Methods3
Exclusive()
staticInactiveAccountsJob.php:17| returns | bool |
run($params)
InactiveAccountsJob.php:23Title()
staticInactiveAccountsJob.php:15| returns | string |
Inherited members (55)
| Constants | Declared by | Description | |
|---|---|---|---|
ALERT | iLogLevel | Alert: Action must be taken immediately. | |
ALL | iLogLevel | Mask for all | |
ALL_PLUS | iLogLevel | debug everything | |
BACKTRACE | iLogLevel | ||
CRITICAL | iLogLevel | Critical: Critical conditions. | |
DEBUG | iLogLevel | Debug: Detailed debug information. | |
DEEP | iLogLevel | debug everything with arguments | |
EMERGENCY | iLogLevel | Emergency: System is unusable. | |
ERROR | iLogLevel | Error: Runtime errors that do not require immediate action but should typically be logged and monitored. | |
ERROR_PLUS | iLogLevel | Mask for all error | |
FATAL | iLogLevel | Mask for all fatal error | |
INFO | iLogLevel | Info: Interesting events. | |
INFO_PLUS | iLogLevel | Mask for all errors/warning/notices/info | |
MEMORY | iLogLevel | include backtrace object | |
NOTICE | iLogLevel | Notice: Normal but significant events. | |
NOTICE_PLUS | iLogLevel | Mask for all errors/warning/notices/info | |
TRACE | iLogLevel | include backtrace as origins | |
WARNING | iLogLevel | Warning: Exceptional occurrences that are not errors. | |
WARNING_PLUS | iLogLevel | Mask for all errors and warnings |
| Properties | Declared by | Description | |
|---|---|---|---|
heartbeatInterval | aJob | ||
id | aJob | ||
lastHeartbeat | aJob | ||
lastProgress | aJob | ||
otherVerbosity | aJob | ||
progress | aJob | ||
progressInterval | aJob | ||
progressSent | aJob | ||
stopped | aJob | ||
store | aJob | ||
verbosity | aJob |
| Methods | Declared by | Description | |
|---|---|---|---|
alert($message, $context) | aJob | Action must be taken immediately. | |
backtraces($message, $context) | aJob | Force-log a message at INFO level together with a full stack trace/memory snapshot (iLogLevel::BACKTRACE), bypassing the verbosity mask entirely (any non-zero verbosity is enough to trigger it). | |
critical($message, $context) | aJob | Critical conditions. No-op if CRITICAL is currently filtered out by the verbosity mask. | |
debug($message, $context) | aJob | Detailed debug information. | |
debugName() | aJob | ||
emergency($message, $context) | aJob | System is unusable. No-op if EMERGENCY is currently filtered out by the verbosity mask. | |
emit($type, $data) | aJob | Add an event of any type to the job's events (JobStore::emit). | |
error($message, $context) | aJob | Runtime errors that do not require immediate action but should typically be logged and monitored. | |
flushProgress($record) | aJob | Send the last progress if progress skipped it (what the job ends with). | |
getId() | aJob | ||
getStore() | aJob | ||
getVerbosity() | aJob | ||
heartbeat($changes, $force) | aJob | Refresh the record's heartbeat (with $changes), at most every $heartbeatInterval seconds. | |
html($html) | aJob | Show an html fragment as is (a report, a table): the people following the job see it in its log. | |
info($message, $context) | aJob | Interesting events. No-op if INFO is currently filtered out by the verbosity mask. | |
isStopped() | aJob | ||
log($level, $message, $context) | aJob | Logs with an arbitrary level. | |
notice($message, $context) | aJob | Normal but significant events. | |
progress($done, $total, $label) | aJob | Say how far the job is. | |
requestStop() | aJob | Ask the job to stop from inside its own process (what JobRunner does on SIGTERM). | |
setVerbosity($verb) | aJob | Set the current verbosity mask, replacing whatever it was before. | |
shouldStop() | aJob | Whether the job was asked to stop (JobStore::stop, or SIGTERM): call it in loops, and return when true. | |
testVerbosity($level) | aJob | Test whether a given level (or set of levels) is currently enabled by this instance's verbosity mask. | |
warning($message, $context) | aJob | Exceptional occurrences that are not errors. | |
__construct($store, $id) | aJob |