Is it only AT command used for scheduling the task?

I have a java program wanting to be executed from our server (Window 2000) every 1 minute. Is it only AT command used for scheduling the task to be executed on a regular baiss? If yes, please giving me an example how to schedule to run every 1 minute? I have heard about Agent stuff? what does it use for?
Who is Participating?
Lee W, MVPTechnology and Business Process AdvisorCommented:
If you type "AT /?" you get the syntax you use with the AT command:

The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername     Specifies a remote computer. Commands are scheduled on the
                   local computer if this parameter is omitted.
id                 Is an identification number assigned to a scheduled
/delete            Cancels a scheduled command. If id is omitted, all the
                   scheduled commands on the computer are canceled.
/yes               Used with cancel all jobs command when no further
                   confirmation is desired.
time               Specifies the time when command is to run.
/interactive       Allows the job to interact with the desktop of the user
                   who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                   month. If date is omitted, the current day of the month
                   is assumed.
/next:date[,...]   Runs the specified command on the next occurrence of the
                   day (for example, next Thursday).  If date is omitted, the
                   current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.

You might be better off though using a batch file and the sleep command and having the batch file loop.
Lee W, MVPTechnology and Business Process AdvisorCommented:
Why not use the Scheduled Tasks Control Panel?
LeanMoreTryMoreAuthor Commented:
The scheduled tasks control Panel is not available in Window NT/2000
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Are you kidding?  It's available in 2000.  It's not in NT, but it most certainly is in 2000.
LeanMoreTryMoreAuthor Commented:
OK, I will check with our network guy.

but certainly it is not available in NT. in this case, we have to use AT command, isn't it?
Lee W, MVPTechnology and Business Process AdvisorCommented:
Again, SCHEDULED TASKS IS available in 2000.  It is NOT available in NT4.  You question made no mention of NT4, so why is this a concern?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.