I am running the following script:
#!/bin/ksh
./clear_old
./rooms_xls.pl 2/23/09
cd doors
./doors_xls.pl 2/23/09
How can I get the date to be today's date based upon the system/server time?
I am running the following script:
#!/bin/ksh
./clear_old
./rooms_xls.pl 2/23/09
cd doors
./doors_xls.pl 2/23/09
How can I get the date to be today's date based upon the system/server time?
This should work fine (and be almost compliant with your format):
#!/bin/ksh
./clear_old
./rooms_xls.pl `date +%D`
cd doors
./doors_xls.pl `date +%D`