Added processing of local

This commit is contained in:
Jeroen De Meerleer 2021-04-15 13:52:06 +02:00
parent 72b4b23dc4
commit daf168c6c3
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ class Job
switch($data['type'])
{
case 'local':
$data['command'] = $values['command'];
$data['host'] = 'localhost';
break;
case 'http':
$parsedUrl = parse_url($values['url']);
$data['url'] = $values['url'];