I've got a cron job setup to delete SquirrelMail attachments that are 2 days old (in the spool directory). I'm getting an email from Cron saying that "rm: too few arguments" - here's the line from crontab:

rm `find /var/spool/squirrelmail/attach -atime +2 | grep -v "\." | grep -v _`

It is all on one line, but there is nothing in the directory to be deleted. Is there something I need to add or change to get rid of this email alert?

Thanks :)
Lisa B.
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to