I have this line in my crontab to delete old files:
1 * * * * find /var/log/abc/ -mtime +7 -type f -delete
Unfortunately, it does not work.
I have attempted to give all users permission to clear that folder using
chmod +777 /var/log/abc
But the chmod did not work. What else could I try?
Following the suggestions to log the output, I am finding that this is in the logs:
/bin/sh: 1: find: not found
So I think I need to set my path correctly...