I could not run this script in /etc/crontab

Halid Faith maslak at ihlas.net.tr
Wed Mar 1 00:16:46 PST 2006


My pathname is correct. I already checked it.
Also I can run manually while I am a root user.
----- Original Message ----- 
From: "Derek Ragona" <derek at computinginnovations.com>
To: "Halid Faith" <maslak at ihlas.net.tr>; <freebsd-questions at freebsd.org>
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 at freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list