|
-
Dec 22nd, 2000, 07:18 AM
#1
Thread Starter
Addicted Member
Hi all,
Me again, I have a question about Auto running an app I have written.
I would like the app to execute it self without having to leave it running overnight.
I am using NT4 and have looked at Services, However I don't know how to add my app as a service.
Someone has menthioned the MS DOS cmd 'at'. If there is an alternative and if you would not mind posting it, that would be great.
Thanks in advance
-
Dec 22nd, 2000, 07:33 AM
#2
Junior Member
Autorun
Hi!
If I'm not mistaken, with NT4 installation there's a nifty app called the Scheduler. Perfect for starting apps att any given time.
greets
Jeppe
-
Dec 22nd, 2000, 07:40 AM
#3
Thread Starter
Addicted Member
But how would I add my service\app to it???
Thanks for your previous reply
-
Dec 22nd, 2000, 08:19 AM
#4
PowerPoster
Rocks, jux take a look on this Thread will do.
-
Dec 22nd, 2000, 08:54 AM
#5
Junior Member
autorun
Hi again!
First of all the service Schedule must be running.
Second you must be logged in as a member of the admin group.
Now, at the command prompt type (without the brackets]:
at HH:MM [path and filename of file to run]
Computer answers that a new scheduled task has been added and its ID. To find out more on the at command type "at ?".
Note that this will run as background process e.g. produce no visual output.
Best of luck
Jeppe
-
Dec 22nd, 2000, 10:48 PM
#6
Hyperactive Member
Here you can go...
http://vbwire.com/advanced/howto/service.asp
hope it helps..
Saludos...
"Who Dares Wins" - "Quien se Arriesga Gana"
Mail me at: 
-
Dec 27th, 2000, 09:18 AM
#7
Re: autorun
Originally posted by jeppe
Now, at the command prompt type (without the brackets]:
at HH:MM [path and filename of file to run]
Computer answers that a new scheduled task has been added and its ID. To find out more on the at command type "at ?".
Note that this will run as background process e.g. produce no visual output.
If you use the AT command and want it to have a visual output then use the interactive switch like this:
AT 16:00 /interactive /every:M,T,W,Th,F,S,Su c:\mypath\myprogram.exe
Remember that the time must be in the 24h form and that the hour and minutes must be separated by a colon whatever regional settings you have.
Best regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|