drlenux/micro-visor

1.0.2 2022-11-28 21:12 UTC

This package is not auto-updated.

Last update: 2024-11-13 05:31:32 UTC


README

Config

<?php

return [
    'timeout' => 0.1,
    'services' => [
        'service-name' => [
            'cmd' => 'shell command'
            'timeout' => 3, // second
            'thread' => 2 
        ]
    ]
];

Run

php ./bin/console.php