JB,
In my example the command is generating a report using command line parameters.
I can see use cases where schedule command perform other repetitive tasks
requiring parameter input. That said, this may be an edge case with many
workarounds or better implementations. I will be using is a
Hi Paul,
if your command uses some session resources (like stream), it's normal
as the session is closed when you quit the shell.
For mail reporting, it's better to create a service that you trigger
with a command (one shot) or with the scheduled (trigger/cron).
Regards
JB
On Mon, May 16, 2022
Karaf 4.3.6
I have scheduled a command to run on a cron schedule, but the command fails
with "java.lang.IllegalStateException: session is closed" after I exit the
Karaf client session. The command will only run in the client session
scheduling the command.
Since command execution can be