Implement a scheduled purge of SESAR files

How do I set up a scheduled purge of SESAR files?

Since SESAR does not perform any automatic cleanup, you can delete files older than a certain date by running a purge script and then scheduling it.

Step 1: Configure the script variables

  1. In the script, modify the $Path variable to include the path to the SESAR storage folder.
  2. Modify the $Dayback variable to include the number of days you want to keep your data. For example: 1 year = 365. In this case, anything older than 365 days will be deleted.
Warning: Keep in mind that your users will no longer be able to restore deleted files, but Secure Exchanges logs will not be purged.

Step 2: Schedule the purge

  1. Create a scheduled task at your convenience to schedule the purge: once a day or once a week, depending on your needs.
Note: You can use the script file below to help you.

Need help?

Our team is available to assist you. Write to us at support@secure-exchanges.com