Types of Executable Files

[ Reference ]

Whenever the config.yml file is changed, execute the recovery_mode.sh file once to clear the old cache.

FileDescription
normal_mode.sh

Normal executable script

Specify this file for scheduled executions of Directory Sync via a task scheduler.

recovery_mode.sh

Recovery mode executable script

This file clears the Directory Sync cache information and then generates differential data.
Use this file when Directory Sync does not complete normally, which creates inconsistencies in cache information or when a lock file remains. You can also use this file after making changes to the config.yml file.

normal_mode_dry_run.sh

Normal executable test script

This file does not send a request to IIJ ID Service for differential data and does not update the cache.

recovery_mode_dry_run.sh

Recovery mode executable test script

This file clears the Directory Sync cache information and then generates differential data but does not send a request to the IIJ ID Service for differential data.  

[ Note ]

Never execute Directory Sync using a different user than the one created for scheduled executions of Directory Sync. The generation of Directory Sync cache information and lock files using a user without the proper privileges can cause Directory Sync not to run correctly at the next scheduled execution.