Below is the code to download the audit report. It is written in the Linux shell script.
Script:
Click on the following file to download the script |
|
---|
Configuring Attributes:
Open the file using the following command:
vi downloadAuditReport.sh
Configure the below attributes, and save the file.
Attributes | Description |
---|---|
userName | Login name of the user that user who is going to download the report. (e.g. admin@openspecimen.com). Note: The user has to be a Super Adminstrator. |
password | The password of the user. (e.g. Login@#123@#) |
url | URL of the server from which you are going to download the report. (e.g. https://example.openspecimen.org) |
startDate | From which date you are going to download the report. ( |
Script by default picks last months start date) | |
endDate | To which date you are going to download. ( |
Script by default picks last months end date) | |
currentTime | This is used to generate the file name. |
How to run:
chmod +x downloadAuditReport.sh
./downloadAuditReport.sh
...