From owner-freebsd-questions@FreeBSD.ORG Tue May 18 20:10:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0F0A1065670 for ; Tue, 18 May 2010 20:10:30 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 4C9FE8FC1B for ; Tue, 18 May 2010 20:10:29 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 9639479; Tue, 18 May 2010 16:10:29 -0400 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 9639483; Tue, 18 May 2010 16:10:23 -0400 Message-ID: <4BF2F42F.7040505@radel.com> Date: Tue, 18 May 2010 16:10:23 -0400 From: Jon Radel User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <321BFC21315248CCA4341AA862E19DED@desktop2002> In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020204070903030506000306" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: yavuz.maslak@netiletisim.net Subject: Re: I can't execute a script in crontab X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 20:10:31 -0000 This is a cryptographically signed message in MIME format. --------------ms020204070903030506000306 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable >> Either make the script executable or cron it like this: >> >> * * * * * /bin/sh /path/to/myscript >> >> --=20 >> Paul Schmehl, Senior Infosec Analyst On 5/18/10 3:40 PM, Yavuz Ma=C5=9Flak wrote: > > the script is already executable but it doesn't work -rwxrwxrwx 1=20 > root wheel ...... > > This list frowns on top posting, so please don't. How do you know it doesn't work? Seriously. You really need to tell us = what what you're doing, exactly, step by step, and what is happening=20 when you do it, if anything. Are you using root's crontab or something else? Does /root/.ssh/id_rsa.pub have a passphrase on it? --=20 --Jon Radel jon@radel.com --------------ms020204070903030506000306--