cleansedbb
Technical User
this isnt a major problem because I can just change the
time of process but I have a cron that changes a log
file to the date, thing is I didnt think and then
made a ftp program to send it the next day. well the
next day TODAYSDATE.log doesnt exist.
how do I get yesterdays date?
the way I'm getting date now is
DATE = `date +%m%d%Y`
is there a way to %d -1 = yesterdays date?
Thanks
CBB
time of process but I have a cron that changes a log
file to the date, thing is I didnt think and then
made a ftp program to send it the next day. well the
next day TODAYSDATE.log doesnt exist.
how do I get yesterdays date?
the way I'm getting date now is
DATE = `date +%m%d%Y`
is there a way to %d -1 = yesterdays date?
Thanks
CBB