cronjobsstream
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
Follows a running cronjob's output and relays it as Server-Sent Events, so the console shows the job as it works rather than a page that has to be reloaded to learn anything.
The same transport as setup/preloadstream and setup/staticcachestream. The difference is what is being followed: those run the work in this process, this one tails a log file written by a process that outlives the request, and stops when that process is gone and its output has been read to the end.
Parameters
| Name | Kind |
|---|---|
| offset | unordered: /(offset)/<value> |
Policy
setup/managecronjobs
Navigation part
ezsetupnavigationpart
Source
kernel/setup/module.php, kernel/setup/cronjobsstream.php
See also
Generated example: setup/cronjobsstream
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment