Re: server on development machine
Posted by: Peter Brawley
Date: July 02, 2021 07:42AM

The line ...

for /f "tokens=2-4 delims=/- " %%a in ('date /t') do set XDate=%%c%%a%%b

... fetches the datetime with 'date /t' and sets the var xdate to that value in yyyymmdd format; refer to the var as %xdate%. Lots of web tutorials on writing batch files.

Windows Task Scheduler can schedule execution of amy OS cmd including batch files.

Options: ReplyQuote

Written By
Re: server on development machine
July 02, 2021 07:42AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.