Hello Everyone
I wrote a script to roll flexlm report logs once a month. I would like to include the month and year in the file name of the rolled report logs. This is where I am have my trouble I would like to roll them on the last day of the month but, I can't figure out how or even if cron will do the last day of the month since the day can be different month to month. I was told by a person here that the unix date command has the ability through format options to tell you the previous month but, I can't find any information on that and the person who told me doesn't remember how to do it. I am trying to keep the script simple but, maybe I can't. Any help that can be provided will be greatly appreciated
I wrote a script to roll flexlm report logs once a month. I would like to include the month and year in the file name of the rolled report logs. This is where I am have my trouble I would like to roll them on the last day of the month but, I can't figure out how or even if cron will do the last day of the month since the day can be different month to month. I was told by a person here that the unix date command has the ability through format options to tell you the previous month but, I can't find any information on that and the person who told me doesn't remember how to do it. I am trying to keep the script simple but, maybe I can't. Any help that can be provided will be greatly appreciated