ConverToHUFcsv
MOVED TO RUNDECK
This project is a .NET application designed to automatically process CSV files in a Linux environment. Here's a detailed summary:
- File Monitoring: Watches a specified directory (
csv) for new CSV files usingFileSystemWatcher. - Conversion Logic: Once a new CSV file is detected, it's processed to adjust the encoding, swap columns, add new columns (e.g., "HUF"), and format dates.
- Header Management: Adds a predefined header to the processed files for consistency.
- File Management: After processing, the original CSV files are moved to an archive directory (
old.csv), and the processed files are saved in a separate directory (huf.csv). - Continuous Operation: Designed to run indefinitely, checking the directory at regular intervals, making it suitable for background processing.
- Service Implementation: Can be deployed as a systemd service on Linux, ensuring it starts automatically and runs in the background as a system service.
This setup allows for efficient, automated handling of CSV files in a Linux server environment, with minimal manual intervention.
The ConverToHUFcsv.service is configured to ensure your .NET application runs as a background service on a Linux system, specifically aimed at automating CSV file processing. It's set to start automatically with the system, maintaining continuous operation. The service is configured to restart in case of failure, minimizing downtime. Its primary function is executing the .NET application, which monitors and processes CSV files, as specified in its execution path and working directory within the service configuration.
No comments to display
No comments to display