This application is designed to manage the operations of a manufacturing company. It includes a daemon that continually manages the operations, logging of new or modified xml reports, backing up of the dashboard directory content and moving of uploaded reports to the reporting directory.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You will need a Linux environment with GCC compiler installed.
- Clone the repository to your local machine.
- Navigate to the project directory.
- Run
makecommand to compile the project and create executables. - Run
./create_reports.shto generate reports in the upload directories.
- Start the daemon by running
./init.sh startin thesrc/directory. - Department managers can upload their xml report files to the respective directories in
upload/. - The daemon will automatically move the uploaded reports to the reporting directory at 1am.
- The dashboard directory content is backed up every night.
- Details of new or modified xml reports are logged and can be viewed in the
/var/log/reports_manager/directory in/var/log/reports_manager/monitor-logs.txt. - Any reports not uploaded by 11:30pm will be logged in the same directory.
- C - The programming language used
- Shell - Used for scripting tasks
- Matthew Tweedy
This project is licensed under the MIT License.