How To Automate Excel Reports Using Shell Script?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Create an Excel template with the necessary formatting, layout, and formulas that will be used for the automated report.
2. Create a shell script that will execute the task of pulling the necessary data from the database and populate the template with the correct data.
3. Create another shell script that will take the populated template and save it as an Excel file.
4. Use cron to schedule the execution of the shell scripts. This will allow you to automate the generation of the Excel reports.