[NTLUG:Discuss] RH 8.0 crontab

Rob Apodaca rob.apodaca at attbi.com
Fri May 16 11:07:01 CDT 2003


On Fri, 16 May 2003 16:52:50 +0000
"jay linux" <jaylinux at hotmail.com> wrote:

> I tried this as root because of the suggestion that a user might not have 
> access..
> 
> 00 08 * * * ls / > /tmp/file
> 
>   Where of course this is 8am on every day. -- This didn't work.
...

This could be because the cron job is being run without a proper
environment...most specifically a PATH variable. Try using:
00 08 * * * /bin/ls / > /tmp/file

Where /bin/ls is the path to the ls command.

Let us know if that worked.

Cheers,
-Rob



More information about the Discuss mailing list