On Mon, 2023-12-18 at 16:07 +0100, Georges Khaznadar wrote:

> Can I assume that you are talking about the switch --description= ?

I was talking about --unit but as long as the resulting unit name bears
some resemblance to the cron command it is from, that would be fine.

> I would propose to use the command's name (without arguments), appended
> with an underscore and the pid of the forked grandchild process managed
> by cron as a description. So one can take a look at /proc/<pid> to get
> more information. What do you think about it?

Hmm, for the description I would just use the full command with args,
prepended with "cron job $USER $PID: " or something similiar.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to