February 13, 2018

Shell script automation

I just wanted to know that is there any process by which we can automate the process of fetching the server logs periodically by running some cron-jobs and saving the logs directly as a zipped file/normal text file into my local system. For the initial process I just want to have a java webapplication which will be configured with buttons. So what I plan to do is on click of a button I will get all the server logs related to the particular server saved as a zipped/normal text file in my local system. Can this actually be done ?

Click Here!