Re: cron line continuation?

From: Torfinn Ingolfsen <>
Date: Sun, 6 Jun 2021 16:57:38 +0200
On Sun, 6 Jun 2021 13:56:18 +0200
Ronald Klop <> wrote:

> Hi,
> I'm trying to create a cron entry with line continuation. This document mentions the \ character:
> The manual pages do not mention this and I can't get it to work.
> Is this possible?

'man 5 crontab' has this section
     The ``sixth'' field (the rest of the line) specifies the command to be
     run.  One or more command options may precede the command to modify
     processing behavior.  The entire command portion of the line, up to a
     newline or % character, will be executed by /bin/sh or by the shell
     specified in the SHELL variable of the cronfile.  Percent-signs (%) in
     the command, unless escaped with backslash (\), will be changed into
     newline characters, and all data after the first % will be sent to the
     command as standard input.

Torfinn Ingolfsen <>
Received on Sun Jun 06 2021 - 14:57:38 UTC

Original text of this message