Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Using AT and Scheduling

Posted on 2005-04-14
Medium Priority
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 97

Expert Comment

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

Author Comment

ID: 13787492
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

r-k earned 300 total points
ID: 13787656
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 31

Expert Comment

by:Wayne Barron
ID: 15716943
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

ID: 15730665

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Use this step by step method when setting up QuickBooks Online. They will allow you to explore the various features of the advanced settings available to you.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

578 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