Click to See Complete Forum and Search --> : Running a program at a set time
Mark Sreeves
Jan 9th, 2000, 09:46 PM
I've written a trivial program which I need to run once a day everyday at a pre-set time.
any suggestions?
I'm running NT4
------------------
Mark Sreeves
Analyst Programmer
Mark.Sreeves@Softlab.co.uk
A BMW Group Company
Aaron Young
Jan 9th, 2000, 10:12 PM
You could add the program to your Task Scheduler, (If you have one). Or if need be, add a Timer, then just check the Time and execute your Code at the appropriate Interval.
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
ajyoung@pressenter.com
Mark Sreeves
Jan 9th, 2000, 10:28 PM
Thanks Aaron,
er... how do i know if i have a Task Scheduler?
Is NET START SCHEDULE anything to do with it?
the NT Schedule service looks like it might be the thing but any ideas how to use it?
NT Help is no help
------------------
Mark Sreeves
Analyst Programmer
Mark.Sreeves@Softlab.co.uk
A BMW Group Company
Aaron Young
Jan 9th, 2000, 10:35 PM
I believe the AT command is used to Schedule things, once the Service is running, try AT /? | More at the Command Prompt.
------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
ajyoung@pressenter.com
Mark Sreeves
Jan 10th, 2000, 11:25 AM
Thanks for your help Aaron!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.