jefferson1 Posted January 22, 2021 Report Posted January 22, 2021 Already existing script lo AWSDT = %yyyy%%mm%%dd% ani declare chesi undi dani base cheskonil... there was a log file with date extension : xyz.20210122 so script execute aninappudu....it was using the above value.. with new code log file name change aindi to xyz.2021-01-22 deni ela solve cheyali Quote
Spartan Posted January 22, 2021 Report Posted January 22, 2021 1 minute ago, jefferson1 said: Already existing script lo AWSDT = %yyyy%%mm%%dd% ani declare chesi undi dani base cheskonil... there was a log file with date extension : xyz.20210122 so script execute aninappudu....it was using the above value.. with new code log file name change aindi to xyz.2021-01-22 deni ela solve cheyali old xyz.20210122 new xyz.2021-01-22 so u want to revert it back to old one.? qn ardham kale 1 Quote
bhaigan Posted January 22, 2021 Report Posted January 22, 2021 11 minutes ago, Spartan said: old xyz.20210122 new xyz.2021-01-22 so u want to revert it back to old one.? qn ardham kale same naku kuda ardam kala Quote
ZoomNaidu Posted January 22, 2021 Report Posted January 22, 2021 1 minute ago, bhaigan said: same naku kuda ardam kala 1 minute ago, bhaigan said: same naku kuda ardam kala Quote
Picheshwar Posted January 22, 2021 Report Posted January 22, 2021 15 minutes ago, Spartan said: old xyz.20210122 new xyz.2021-01-22 so u want to revert it back to old one.? qn ardham kale old or existing log file is ending with 20210122 now it is changed and log files will end with date in format 2021-01-22. how to handle new format.. idhi anukunta question. tappaite kshaminchu. Quote
VictoryTDP Posted January 22, 2021 Report Posted January 22, 2021 20 minutes ago, jefferson1 said: Already existing script lo AWSDT = %yyyy%%mm%%dd% ani declare chesi undi dani base cheskonil... there was a log file with date extension : xyz.20210122 so script execute aninappudu....it was using the above value.. with new code log file name change aindi to xyz.2021-01-22 deni ela solve cheyali @jefferson1 ida code script snippet paste karo and our technical team will do the rest Quote
ZoomNaidu Posted January 22, 2021 Report Posted January 22, 2021 2 minutes ago, Picheshwar said: old or existing log file is ending with 20210122 now it is changed and log files will end with date in format 2021-01-22. how to handle new format.. idhi anukunta question. tappaite kshaminchu. New code em change ayyindho TS clear ga cheppatledhu Quote
meri_zindagi Posted January 22, 2021 Report Posted January 22, 2021 did you try this ? [datetime]::now.tostring("yyyy-MM-dd") Quote
Spartan Posted January 22, 2021 Report Posted January 22, 2021 3 minutes ago, Picheshwar said: old or existing log file is ending with 20210122 now it is changed and log files will end with date in format 2021-01-22. how to handle new format.. idhi anukunta question. tappaite kshaminchu. kotta code ni revert cheste saripoye...dantlo ela fix endi.. anduke question ardham kaale..what ths issue is. Quote
jefferson1 Posted January 22, 2021 Author Report Posted January 22, 2021 Problem solved ...temp let’s see how it goes Quote
ZoomNaidu Posted January 22, 2021 Report Posted January 22, 2021 6 minutes ago, jefferson1 said: Problem solved ...temp let’s see how it goes Evarayina code raakapothey bathi kottosthaadu nuvvu DB ki vachi refresh ayinatlundhi Quote
jefferson1 Posted January 23, 2021 Author Report Posted January 23, 2021 3 minutes ago, ZoomNaidu said: Evarayina code raakapothey bathi kottosthaadu nuvvu DB ki vachi refresh ayinatlundhi edo try chesa work aindi.. Quote
Picheshwar Posted January 23, 2021 Report Posted January 23, 2021 33 minutes ago, Spartan said: kotta code ni revert cheste saripoye...dantlo ela fix endi.. anduke question ardham kaale..what ths issue is. Aa file vere system nunchi vast untundi. 😂 Quote
jefferson1 Posted February 1, 2021 Author Report Posted February 1, 2021 Another doubt vayya below code oka batch file lo undi, batch file will start at 11:45 pm if not exist E:\temp\Prod_arch\%AWSDT% mkdir E:\temp\Prod_arch\%AWSDT% if not exist E:\temp\Prod_arch\%AWSDT% mkdir E:\temp\Prod_arch\%AWSDT%\XYZ if not exist E:\temo\Prod_arch\%AWSDT%\%APPNAME% mkdir E:\temp\Prod_arch\%AWSDT%\XYZ\%APPNAME% batch file 11:45 pm ki run ainnapudu... above lines work avvatam le same batch file 11:45 am ki run avuthundi... and its working... enti reason Quote
ZoomNaidu Posted February 1, 2021 Report Posted February 1, 2021 21 minutes ago, jefferson1 said: Another doubt vayya below code oka batch file lo undi, batch file will start at 11:45 pm if not exist E:\temp\Prod_arch\%AWSDT% mkdir E:\temp\Prod_arch\%AWSDT% if not exist E:\temp\Prod_arch\%AWSDT% mkdir E:\temp\Prod_arch\%AWSDT%\XYZ if not exist E:\temo\Prod_arch\%AWSDT%\%APPNAME% mkdir E:\temp\Prod_arch\%AWSDT%\XYZ\%APPNAME% batch file 11:45 pm ki run ainnapudu... above lines work avvatam le same batch file 11:45 am ki run avuthundi... and its working... enti reason Drink yesi padukundhemo Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.