Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1102873

Bug#933396: Why this bug report can be closed (again?)

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Georges Khaznadar <georges.khaznadar@orange.fr>
Newsgroups linux.debian.bugs.dist
Subject Bug#933396: Why this bug report can be closed (again?)
Date Thu, 12 May 2022 10:00:01 +0200
Message-ID <EmbTP-eVPb-1@gated-at.bofh.it> (permalink)
References <ypwVz-2nd-3@gated-at.bofh.it>
X-Original-To 933396@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu May 12 07:51:08 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.712
Reply-To Georges Khaznadar <georges.khaznadar@orange.fr>, 933396@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Javier Fernández-Sanguino Peña <jfs@debian.org>
X-Debian-Pr-Message followup 933396
X-Debian-Pr-Package cron
X-Debian-Pr-Source cron
X-Me-Helo georges.khaznadar.fr
X-Me-Date Thu, 12 May 2022 09:47:57 +0200
X-Me-IP 92.140.44.20
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GD1CTJ2F57/dgbC1"
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1716682
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 53
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 12 May 2022 09:47:55 +0200
X-Original-Message-ID <Yny7q8sjHAbZNQI3@georges.khaznadar.fr>
X-Original-References <20190730094328.26750A0142@smtp.hushmail.com>
Xref csiph.com linux.debian.bugs.dist:1102873

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

@garbage_collector@nym.hush.com:
Thanks to Christian Kastner, here is a clue for the buggy behavior you
noticed:

The manual page of crontab (5) states that
------------------8<--------------------------------
   The entire command portion of the line, up to a newline or a "%"
   character, will be executed by /bin/sh or by the shell specified in
   the SHELL variable of the cronfile.  A "%" character in the command,
   unless escaped with a backslash (\), will be changed into newline
   characters, and  all data after the first % will be sent to the
   command as standard input.
------------------8<--------------------------------

So the line
@reboot root echo Logged time = %time% %date% >> /home/marc/log.txt
is most probably not interpreted as you thought.

Best regards,			Georges.

-- 
Georges KHAZNADAR et Jocelyne FOURNIER
22 rue des mouettes, 59240 Dunkerque France.
Téléphone +33 (0)3 28 29 17 70

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#933396: Why this bug report can be closed (again?) Georges Khaznadar <georges.khaznadar@orange.fr> - 2022-05-12 10:00 +0200

csiph-web