1

find command fails in crontab

view story
linux-howto

http://www.unix.com – 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 {} \; 1 (HowTos)