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


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

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

Started byGeorges Khaznadar <georges.khaznadar@orange.fr>
First post2022-05-12 10:00 +0200
Last post2022-05-12 10:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromGeorges Khaznadar <georges.khaznadar@orange.fr>
Date2022-05-12 10:00 +0200
SubjectBug#933396: Why this bug report can be closed (again?)
Message-ID<EmbTP-eVPb-1@gated-at.bofh.it>

[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

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web