From owner-freebsd-questions@FreeBSD.ORG Sat May 31 01:49:42 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 977CF37B401 for ; Sat, 31 May 2003 01:49:42 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-9-120.w80-13.abo.wanadoo.fr [80.13.163.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id C126443F75 for ; Sat, 31 May 2003 01:49:40 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from sta01 (sta01.lphp.org.local [192.168.0.4]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h4V8ncm6007559 for ; Sat, 31 May 2003 10:49:38 +0200 (CEST) (envelope-from ajacoutot@lphp.org) From: Antoine Jacoutot To: freebsd-questions@freebsd.org Date: Sat, 31 May 2003 10:49:34 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200305311049.38120.ajacoutot@lphp.org> Subject: backslash in crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 08:49:43 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi ! How can I have one big line in my crontab splitted in multiple lines ? I tried the following: 0 2 * * * command A && \ command B && \ command C But I get the following error message: /tmp/crontab.48pe18LXs2: 10 lines, 1344 characters. crontab: installing new crontab "/tmp/crontab.48pe18LXs2":9: bad hour crontab: errors in crontab file, can't install Do you want to retry the same edit? Note that if my crontab is written as: 0 2 * * * command A && command B && command C =2E.. then it works with no problem. Thanks. =2D --=20 Antoine Jacoutot ajacoutot@lphp.org http://www.lphp.org gpg key: http://www.lphp.org/ressources/ajacoutot.asc =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+2GyiY3Hnhkr+5cQRAvsLAJ4zZ9QqXyGcbe+pa8DxLISN/b1bSwCeIGyO SkytZ2OhVdCJtrl4+8PJuRw=3D =3D3Uxf =2D----END PGP SIGNATURE-----