bad 'find' job in cron
From: Shawn Bierman (BiermanS_at_METHODISTHEALTH.ORG)
Date: 05/27/03
- Previous message: Green, Simon: "Re: what is 00003333 on P660 LCD?"
- Next in thread: Green, Simon: "Re: bad 'find' job in cron"
- Maybe reply: Green, Simon: "Re: bad 'find' job in cron"
- Maybe reply: Coyle, Jack: "Re: bad 'find' job in cron"
- Maybe reply: Shawn Bierman: "Re: bad 'find' job in cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 May 2003 08:54:32 -0500 To: aix-l@Princeton.EDU
Greetings,
I have a job in cron that works fine from the command line but when the cron job runs i get the following email:
find: 0652-009 There is a missing conjunction
*****************************************************************
cron: The previous message is the standard output
and standard error of one of the cron commands.
The cron entry looks like this:
15 02 * * * (/usr/bin/find /sapbc/Server/logs -name \*.log -mtime +30 -xdev -type f | /usr/bin/xargs rm -f)
20 02 * * * (/usr/bin/find /sapbc/Server/packages/SAP/logs -name \*.log -mtime +30 -xdev -type f | /usr/bin/xargs rm -f)
Ran from the command line it works fine. What does cron not like here?
-shawn
- Previous message: Green, Simon: "Re: what is 00003333 on P660 LCD?"
- Next in thread: Green, Simon: "Re: bad 'find' job in cron"
- Maybe reply: Green, Simon: "Re: bad 'find' job in cron"
- Maybe reply: Coyle, Jack: "Re: bad 'find' job in cron"
- Maybe reply: Shawn Bierman: "Re: bad 'find' job in cron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|