Running tasks from CLI.
More...
Running tasks from CLI.
- Copyright
- 2018 Toni Barbera toni@.nosp@m.mood.nosp@m.le.co.nosp@m.m
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ execute()
Executes a cron from web invocation using PHP CLI.
- Parameters
-
- Return values
-
- Exceptions
-
◆ find_php_cli_path()
static tool_task\run_from_cli::find_php_cli_path |
( |
| ) |
|
|
staticprotected |
Find the path of PHP CLI binary.
- Return values
-
string|false | The PHP CLI executable PATH |
◆ is_runnable()
static tool_task\run_from_cli::is_runnable |
( |
| ) |
|
|
static |
Returns if Moodle have access to PHP CLI binary or not.
- Return values
-
The documentation for this class was generated from the following file: