Initially, auditRefresh
runs daily. To purge old records less frequently, modify the associated
schedule script. It is a good practice to make a backup copy of the
script before you make changes.
Windows Specifics: In
the auditRefreshSchedule.bat script, change the value for TIME_INTERVAL_DAYS=
. The initial value is 1
.
UNIX Specifics: In
the auditRefreshSchedule.sh script, change the string that is highlighted
in the following line:
cat <(fgrep -i -v $AUDIT_RUNSAS_PATH <(crontab -l))
<(echo "0 0 * * * $AUDIT_RUNSAS_PATH") | crontab -
The initial syntax schedules the task to run nightly,
at midnight. You might find it helpful to use a site such as
www.cronchecker.net to
verify your cron command syntax.