From owner-freebsd-questions@FreeBSD.ORG Wed Mar 1 08:16:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 169AF16A420 for ; Wed, 1 Mar 2006 08:16:46 +0000 (GMT) (envelope-from maslak@ihlas.net.tr) Received: from mailhub.ihlas.net.tr (mailhub.ihlas.net.tr [213.238.128.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id F076343D58 for ; Wed, 1 Mar 2006 08:16:43 +0000 (GMT) (envelope-from maslak@ihlas.net.tr) Received: (qmail 11947 invoked from network); 1 Mar 2006 08:17:12 -0000 Received: from unknown (HELO ihlasnetym) (maslak@213.238.150.220) by 0 with ESMTPA; 1 Mar 2006 08:17:12 -0000 Message-ID: <0a3801c63d08$64a00840$dc96eed5@ihlasnetym> From: "Halid Faith" To: References: <009701c63ca3$c982b4c0$dc96eed5@ihlasnetym> <6.0.0.22.2.20060228143017.02654958@mail.computinginnovations.com> Date: Wed, 1 Mar 2006 10:16:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: I could not run this script in /etc/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: Wed, 01 Mar 2006 08:16:46 -0000 My pathname is correct. I already checked it. Also I can run manually while I am a root user. ----- Original Message ----- From: "Derek Ragona" To: "Halid Faith" ; Sent: Tuesday, February 28, 2006 10:31 PM Subject: Re: I could not run this script in /etc/crontab > Check your script for and use full pathnames for commands, cron doesn't > guarantee you will have a path or any environment variables you don't set > in your script. > > -Derek > > > At 02:15 PM 2/28/2006, Halid Faith wrote: > >Hello > > > >I have a script. > >I can run it without a problem as root manually. > >But I have a problem > >I could not run this script in /etc/crontab as below; > > > >*/1 * * * * root /root/thescript > > > >What should I do ? > > > > > > > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >