Avatar of M SOS
M SOS
 asked on

Run Access File Daily using Task Scheduler

Hi

Can someone guide me please in very simple steps how to run an Access database daily using Task Scheduler

I have tried this C:\Program Files (x86)\Microsoft Office\Office15\MSACCESS.EXE "D:\pathtoyourAccddbfile\file.accdb"

but nothing

The user was Admin...

Again I would be very grateful if it is simple clear steps

Many Thanks
Windows Server 2008Windows 7Microsoft Access

Avatar of undefined
Last Comment
Dennis Johnson

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jim Dettman (EE MVE)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
M SOS

ASKER
Nothing happened

The user is logged on to terminal server session, I created the task to run... I gave the task the appropriate admin rights to run ...the file is on a mapped drive H:\pathtoyourAccddbfile\file.accdb

Nothing happened when it runs

Any solution

Thanks
Jim Dettman (EE MVE)

I would suggest creating a batch file.   Try executing that outside of the scheduler.  Once you have that working, then call the batch file from the scheduler.

<< I gave the task the appropriate admin rights to run >>

 You must be running under the account of the logged in user.

Jim.
M SOS

ASKER
I do not know how to create a patch file which run this access file?

I am not too sure
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Dennis Johnson

After manually running the command from within task scheduler and refreshing the list after 1-2 seconds (important), what is the value of the column Last Run Result?
SOLUTION
Scott McDaniel (EE MVE )

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Jim Dettman (EE MVE)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
M SOS

ASKER
I do not agree with that

I stopped responding partially because have given up
Dennis Johnson

I asked what was the value of the Last Run Result column, in order to start troubleshooting from somewhere, but you didn't respond.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.