About EJM Purge and Archive

A message stream was developed to provide purge and archive functionality including remove (purge) or move (archive) files on the FTP server or on the Application server  according to the given parameters for each specific task.
If you are an Eagle ACCESS client, there is already some default purging available on the EJM folders on the Application server side. Therefore, if you are looking to set up either purging or archiving on the Application Server, please contact your Eagle representative first to ensure the purging that is currently in place would not compete with your desired activity.

The following steps describe using the Purge & Archive stream:

  • You would drop a control message into the eagle_ml-2-0_default_cm_control_message stream to call the Purge & Archive feature.
  • You should add the options to set Purge and Archive settings in this initial control message.
  • Create new variable W_PA_SETTINGS in w_config_custom.inc , on which default Purge and Archive settings will be based.
    W_PA_SETTINGS variable should have the following format:

    [storage_type];[clean_option];[path_to_process];[files_mask];[clean_type: PURGE or ARCHIVE];[archive_folder];[is_need_compress];[older_than_time_in_hours];[include_subfolders]
  • Select the files that are to be processed (purged or archived) using the following parameters:
    • location (FTP or App server)
    • files path
    • file mask (e.g.: *.csv)
    • older than %time in hours% (e.g.: 72 hours)
    • If the LISTONLY mode is on, only files and actions available for them will be shown

  • Enable logging to store changes into a log file.

The Purge and Archive supports backward compatibility with older versions.