Computing.Net > Forums > Windows Server 2003 > Scheduled tasks in seconds

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Scheduled tasks in seconds

Reply to Message Icon

Name: booboo
Date: June 1, 2009 at 18:00:50 Pacific
OS: Windows 2003
CPU/Ram: 4 GB
Subcategory: General
Comment:

I have a 2 sided question re: Scheduled tasks:

1) Is it at all possible to run a task every "x" seconds ie 5 seconds

2) If so would this impede server performance?

I've written a a one liner .bat script using the robocopy command and need it to check against a folder and copy over any differences to a destination. I'm not the greatest at coding as I know one option is to "loop" it. Is there any other ideas you folks can lend me?

TIA

boo



Sponsored Link
Ads by Google

Response Number 1
Name: GavinR
Date: June 2, 2009 at 10:08:48 Pacific
Reply:

I think 5min's is the quickest that Sched tasks will allow to trigger programs.

If it is in a batch file, you could repeat your line of code placing a 5 second pause in between each line. Put enough lines and pauses in the batch to last for 5 min's.

Get scheduled tasks to trigger the batch every 5 min, and let the batch do the rest.

If the actual batch envolves checking folders and copying contents accross i would expect that this will impact performance.

What is the aim of this task? Just wondering if DFS will be a better solution.

Gavin


0
Reply to Message Icon

Related Posts

See More


Cant Execute .Dat Files The master browser receiv...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows Server 2003 Forum Home


Sponsored links

Ads by Google


Results for: Scheduled tasks in seconds

Problem with Scheduled Tasks and AD www.computing.net/answers/windows-2003/problem-with-scheduled-tasks-and-ad/5612.html

create scheduled task remote server www.computing.net/answers/windows-2003/create-scheduled-task-remote-server/6346.html

scheduled task not running www.computing.net/answers/windows-2003/scheduled-task-not-running-/8965.html