Avatar of 25112
25112 asked on

.bat job works when run, but not when put in Task Scheduler

I scheduled the task with reference to run the batch file at a specific time daily.

in task scheduler, it says it ran the job (daily run) successfully.. (Last Run Result: 0xFFFD0000)
but when I check results, I know/see that the job did not execute as it should have.. but if I run it manually, then it works effectively (results proving).

The task is referencing the path of the batch file accurately.

The job is scheduled based on domain account.
[Run whether user is logged on or not]
the password is active and [Do not store password] option is not checked..

what could be missing that the job won't run when scheduled (it says it ran fine, but results do not prove it did effectively- what the script was supposed to do- behind the batch file)..

where and what to check?
Microsoft Server OSWindows BatchWindows Server 2008Microsoft Legacy OSWindows OS

Avatar of undefined
Last Comment
reredok

8/22/2022 - Mon
Systech Admin

check the folders and path are correct in the bat file.
SOLUTION
Gabriel Clifton

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck