Find command fails in crontab

Hi ,
I imported find command I have on my hp-ux server to clean up the /tmp of my new IBM AIX servers.
Though, the commands always fails in the cron but if I past it at the prompt, it works find. I tried with at jobs and regular 'find' .

Could anyone tell me what I am doing wrong?

Many thanks

Here is part of my crontab:

1    0,12  *   *   *   find /tmp -name "*\.model" -type f -mtime +1 -exec rm {} \;
0    0,12   *   *   *  find /tmp -name "*.catrace.*.log" -type f -mtime +1 -exec rm {} \;
16   0,12   *   *   *   find /tmp -name *.web* -type f -mtime +1 -exec rm {} \;
16   0,12   *   *   *   echo "find /tmp -name \"*.web*\" -type f -mtime +1 -exec rm {} \;"| at now

have you tried incorporating your functionality in a script and then scheduling the script in cron....???

No I did not. I will and let you know.
Thanks very much.

---------- Post updated at 07:36 AM ---------- Previous update was at 06:09 AM ----------

It worked. Thanks for your help.

it would most likely work as well if you would mention the location of find - like

1 0,12 * * * /usr/bin/find /tmp -name "*\.model" -type f -mtime +1 -exec rm {} \;

Regards
zxmaus

In cron... always use absolute paths for all commands, and file paths...

for find command you have to use.
also for the rm command use absolute path.