we2aresame
Technical User
Hi, all,
I want to split a log file by monthly which increased every day. The split log file name should like "abc.log.Jun,abc.log.Jul". I know I can use crontab to run a scritp monthly to do so, but anyone can till me how to write the script to achieve my target, thanks in advanced.
I want to split a log file by monthly which increased every day. The split log file name should like "abc.log.Jun,abc.log.Jul". I know I can use crontab to run a scritp monthly to do so, but anyone can till me how to write the script to achieve my target, thanks in advanced.