Using AT and Scheduling

Posted on 2005-04-14
Last Modified: 2010-04-14
I want to schedule a bat file on Everyday every 4 hours starting from 6:00am.

Can somebody help me with this..

Thanks In Advance!

Question by:schinni
    LVL 95

    Expert Comment

    by:Lee W, MVP
    AT can be a pain to get running correctly.  Why not use the Scheduled Tasks service/control panel?

    Author Comment

    i don't want to tie an account to that task..I want it to run under local sys account.By using
    at it uses that account by default.

    LVL 32

    Accepted Solution

    You can do it with six AT commands:

    AT 06:00 /every:M,T,W,Th,F,S,Su c:\folder\mybat.bat
    AT 10:00 /every:M,T,W,Th,F,S,Su c:\folder\mybat.bat
    AT 14:00 /every:M,T,W,Th,F,S,Su c:\folder\mybat.bat
    AT 18:00 /every:M,T,W,Th,F,S,Su c:\folder\mybat.bat
    AT 22:00 /every:M,T,W,Th,F,S,Su c:\folder\mybat.bat
    AT 02:00 /every:M,T,W,Th,F,S,Su c:\folder\mybat.bat

    That should do it.
    LVL 30

    Expert Comment

    by:Wayne Barron
    No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
    I will leave the following recommendation for this question in the Cleanup topic area:
    [PAQ - No Refund]

    Any objections should be posted here in the next 4 days. After that time, the question will be closed.

    EE Cleanup Volunteer
    LVL 32

    Expert Comment


    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Cannot connect to share on new Win8 PC 3 942
    Remote Desktop Software 6 438
    Outlook 2013 Certicate error 1 279
    windows 2000 - Enable wifi 7 121
    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…
    In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    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…

    754 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

    19 Experts available now in Live!

    Get 1:1 Help Now