Hi i have installed and executing the scripts on gateway via cronjobs for daily audit purge script but the log files or not deleting
here are the scripts
0 2 * * * bash /opt/SecureSpan/Gateway/runtime/bin/audit_purge.sh > /tmp/auditPurge.log 2>&10 3 * * * bash /opt/SecureSpan/Gateway/runtime/bin/manage_binlogs.sh -f > /tmp/manage_binlogs.log 2>&1
1. how to check these scripts are called by crontab or not, if not what are the steps need to perform
2.if the scripts has been called by cronjob still its failing to delete the log files what might be the reason.
1. check /var/log/cron*, or /var/log/messages
2. ls -l /tmp/*.log to check last modified date time of the log file
3. your configuration is to overwrite the log files, not deleting the log files.
May I ask how to set a cron job for gateway 9.4?
I tried to run command "crontab -e" but no this command.
What's the form factor of your gateway?
The appliance gateway should have this command.
I used v9.4 ova to deploy gateway.
I created another thread for this question.
Thanks for your response.
Thanks Zhijun for the quick respone