Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In Datafari, the logs are not automatically purged. To do this, you need to edit the root crontab with the command 'sudo crontab -e', and add the following line:

Code Block
0  1  *  *  *	root	find /opt/datafari/logs/ -type f -mtime +7 | xargs --no-run-if-empty rm

...