Manually Executing the n2edra_etl Process
While the extract, transform and load process n2edra_etl is designed to run
constantly from system startup, it can be run manually if necessary.
Prior to running manually, ensure that the automatically started process is stopped by running:
sudo stop n2edra
The n2edra_etl process can be run using the following basic command line:
cd /usr/share/n2edra/bin
./n2edra_etl
This will execute the process using the default configuration file at
/etc/n2edra/n2edra.xml. The following command line arguments can be used
with this process:
| Argument | Action |
|---|---|
--debug | Turn on debug logging to console. Override any logging config in the configuration file. Useful for manual debugging. Do not use in long term setups (use the log file config in the config file instead). |
--config <configfile> |
The config file where all configuration is read from. By default this is /etc/n2edra/n2edra.xml |
--reprocess-from <date> |
Provide a date and time, in YYYY-MM-DD HH24:MI:SS TZ format
from when EDRs from the source extractor should be reprocessed.
Ensure you use the right time that covers daylight savings
correctly - e.g. |
After manual execution, restart the automated process if desirable:
sudo start n2edra