Is it only AT command used for scheduling the task?

Posted on 2005-04-20
Last Modified: 2010-04-14
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?
Question by:LeanMoreTryMore
    LVL 95

    Expert Comment

    by:Lee W, MVP
    Why not use the Scheduled Tasks Control Panel?

    Author Comment

    The scheduled tasks control Panel is not available in Window NT/2000
    LVL 95

    Expert Comment

    by:Lee W, MVP
    Are you kidding?  It's available in 2000.  It's not in NT, but it most certainly is in 2000.

    Author Comment

    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?
    LVL 95

    Expert Comment

    by:Lee W, MVP
    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?
    LVL 95

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now