Hi, Rich,

> /var/log/cron.1:
> Feb 21 01:19:01 salmo crond[1367]: exit status 1 from user root find /tmp 
> -mtime +7 -type d -exec rm -rf {} ';'
>

- What happens if you run that find command by hand?
- What happens if you run that find command without the -exec clause?

The find could be exiting with 1, or it could be passing the exit code
from the rm command. So, let's split that out and see exactly what's
failing.

David
--

David/dafydd

PGP Public Key
<https://keys.openpgp.org/vks/v1/by-fingerprint/042BC7A61817FD78AC85DD4ACC0B3F78FDDBD9AC>

Read. Read more. Read lots. Read /everything/!


Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to