Scheduled Task Question

M

Michael D. McGill

I have a batch file I am running on a Win2K Server. I have it set up as a
scheduled task. I want it to run every 15 mins. My question:

Can a scheduled task run when no one is logged into the machine. I would
prefer to not leave the machine logged in but would like the task to run on
schedule. Can this be done?

Thanks,
Mike
 
G

Greg Stigers

Yes, but I believe you will have to include the cmd /c before it. And, of
course, run it under the appropriate user account. It should be easy enough
to test. But I would also consider what you want to have happen if something
in your batch file fails. Are there any audit requirements to prove that it
worked at all? You can redirect output to a log file, although you then also
have to manage the log file. Or, you overwrite the log file on each use, so
you only have the last one, which may or may not meet the needs.

Greg Stigers, MCSA
this space for rent
 
P

Pegasus \(MVP\)

Scheduled tasks are meant to be run in the background - this is their normal
mode of operation. No special precautions are required. Test them first
under
your own account, then schedule them under some other account with
sufficient
priviledges. They will now run in the backgrouind, invisible to you,
regardless if
anyone is logged on or not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top