Hello Tomas,

with the current version of cron in trixie, 

- the build was done with debugging active
- man cron provides information about the `-x` flag.

So, I close the bug report. Please feel free to reopen it when
necessary, or send another bug report if something doe not fulfill your
needs.

Best regards,                   Georges.

On Fri, 22 Jul 2022 15:59:17 +0200 Tomas Pospisek <tpo_...@sourcepole.ch> wrote:
> @Georges Khaznadar : what do you think about:
> 
> 1. enabling debugging by default?
> 2. documenting `-x` ?
> 
> If Debian would enable the "debbugging feature" of its cron by default,
> then this would add this overhead in a few places:
> 
>     if ( (DebugFlags & (mask) )  ) printf message;
> 
> Since DebugFlags is 0 by default, this will ad an overhead of about two
> machine instructions I guess to a few places, which is a neglible
> waste/slowdown IMHO.
> 
> With the "debugging feature" enabled Debian's cron will gain the very
> nice features:
> 
> a) for the sysadmin to be able to debug what cron is doing and why and
> b) use the sysadmin being able to use Debian's cron in docker and kubernetes.
> 
> IMHO a huge gain that costs nothing.

Attachment: signature.asc
Description: PGP signature

Reply via email to