Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can query be set to run at say 4:00 am?

Status
Not open for further replies.

Dan01

Programmer
Jun 14, 2001
439
US
Hi, does anyone know if one can schedule, within Access, the time in which a query runs? Thanks, Dan.
 
The way I have handled this is to set up Norton or Windows scheduler to open your application at a specific time, then on open of the application write some code to check for the time. If the time is beteen 3:55 and 4:05 AM then execute your process.

Hope that helps!
 
well, they way i would do it... (not saying JeanineScott isn't doing it a good way...) is to have windows scheduler (or any program scheduling app) run the database with a command line switch... because that way it will exit back out when it's done... this way you can also put in a username and password if it's a secure database... that, and i'm not good at programming:) good luck...

--Junior JHauge@jmjpc.net
Life is change. To deny change is to deny life.
 
Thank you Junior. Your quotation reminds me of George Harrison, "All things must pass".
 
thanks... i have heard it once or twice befor... but it just came to mind as i was making my signiture:)

--Junior JHauge@jmjpc.net
Life is change. To deny change is to deny life.
 
Are you saying that scheduler can automatically close your application for you too? How does it know when your process is finished? I have it open the app (via the command line) and then when my process is done I exit the app via code. (docmd.quit) Is there another way to do it? New options are always fun to try!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top