Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1102873
| From | Georges Khaznadar <georges.khaznadar@orange.fr> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#933396: Why this bug report can be closed (again?) |
| Date | 2022-05-12 10:00 +0200 |
| Message-ID | <EmbTP-eVPb-1@gated-at.bofh.it> (permalink) |
| References | <ypwVz-2nd-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[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
Bug#933396: Why this bug report can be closed (again?) Georges Khaznadar <georges.khaznadar@orange.fr> - 2022-05-12 10:00 +0200
csiph-web