I think some date and time part is having an issue.
Windows Task Scheduler Help
Hi Experts,
I have a backup script which I wanted to run DAILY every 3 hours but it's not working whats I am doing there.
The script did not run in between 11:00 PM to 11:00 AM.
Windows for business Windows Client for IT Pros User experience Other
12 answers
Sort by: Most helpful
-
-
Osama Mansoor 86 Reputation points
2021-10-25T12:55:20.353+00:00 One more comment against my logic as mention above regarding data and time.
I have Windows Server 2003 Machine and its same script is successfully running and creating output at AM and below is the schedule.
-
MotoX80 36,291 Reputation points
2021-10-25T13:02:03.65+00:00 Put quotes around the file names.
Before 10 AM you will have single digits in the hour. You end up with a space in the file name and the program will see 852.dmp and 852.log as separate command line switches.
-
Osama Mansoor 86 Reputation points
2021-10-25T13:13:40.913+00:00 can you please correct for me i am unable to get your point
-
MotoX80 36,291 Reputation points
2021-10-25T13:24:59.117+00:00 expdp wbg/chl@chl full=Y directory=dbbackup dumpfile="CHL_%date:~4,2%_%date:~7,2%_%date:~10,4%-%time:~0,2%%time:~3,2%.dmp" logfile="CHL_%date:~4,2%_%date:~7,2%_%date:~10,4%-%time:~0,2%%time:~3,2%.log"
The hour is "space nine", not "zero nine".