Re: user unable to access "crontab -e"

<[email protected]>
Newsgroups gmane.linux.debian.user
Message-ID <[email protected]>
On Thu, Jul 02, 2026 at 05:33:57AM -0600, D. R. Evans wrote:
> Greg Wooledge wrote on 7/1/26 8:19 PM:
> 
> > 
> > Without -b, we can deduce that the Kate command line process is
> > sending the edit request to an "already running Kate instance", and
> > then terminating, at which point crontab checks the file, sees no
> > change, and reports the lack of changes, leaving the installed crontab
> > unchanged.
> 
> Yes... except that I wasn't using any other instance of kate [...]

You were, you just didn't know: kate was helpfully doing that for you :)

As Greg explains in another post, what happens is that crontab invokes
an editor and waits until that process returns. Then it "knows" you
are done editing, picks up the modified file and installs it in
place.

Kate (without the -b option) breaks that expectation by returning
immediately (crontab "thinks" you are done) and continuing "in the
background" (from the POV of crontab) letting you edit the file.

At that point in time, crontab has already picked up the (yet
unmodified) file. Any modifications you may make are lost, since
too late.

Cheers
-- 
t
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCakZWPAAKCRAFyCz1etHa
RjLOAJoC1ZpQN9JnV9JAddmG85cmJ3AoUwCdFoSxugtPNBZvG+vgbbmeu3Rps00=
=Gg9g
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.