crunzphp / crunz

A PHP-based job scheduler
MIT License
176 stars 16 forks source link

New log format #61

Open lucatacconi opened 11 months ago

lucatacconi commented 11 months ago

Description
It might be interesting to be able to have the log in a different format than those possible at the moment.

It might be interesting to have it in JSON format so as to be able to use it as input data for further batches or for a more immediate reading of the return data.

Example
It could be something like this:

{
    "execution_date_time" : "2023-09-27 10:38:00",
    "duration_seconds" : "60",
    "outcome" : "true",
    "output" : ".......",
    "error" : "......."
}

I am available to help you if you are interested.