I have a script that needs to run from Crontab on the 1st of the month.
The script needs to change the date in the format 01-MMM-01
to the 04-MMM-01 each month.
How can I set the script up to do this ?
At the moment I have to manually go into the script and change the dates manually. I need the script to look at the current date ie (01-MMM-01) and change it to the 4th.
Does this make any sense ?
The script needs to change the date in the format 01-MMM-01
to the 04-MMM-01 each month.
How can I set the script up to do this ?
At the moment I have to manually go into the script and change the dates manually. I need the script to look at the current date ie (01-MMM-01) and change it to the 4th.
Does this make any sense ?