- login to Admin Console
- go to Configuration → Website → Advanced section
- enable Use Cron to run Scheduled Tasks setting and save changes
- in IDE change contents of \AdminEventsHandler::OnBeforeShutdown method (file: core/units/admin/admin_events_handler.php) to be die('user_id: ' . $this->Application->RecallVar('user_id')); and save changes
- execute php tools/cron.php from root folder of a project
- confirm, that you'll see either user_id: -1 or user_id: -3 as output of that script
Details
Details
- Reviewers
erik
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- /in-portal/branches/5.2.x
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 1043 Build 1043: arc lint + arc unit