Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 365877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T13:34:45+00:00 2026-05-12T13:34:45+00:00

I need to run a task every 10 mins from morning 9 AM to

  • 0

I need to run a task every 10 mins from morning 9 AM to Evening 3 PM every weekday on my Windows XP. I have used the following command to do that but on Windows XP SP3 I think /RI option is unavailable.

schtasks /Create /RU HS77 /RP /SC DAILY /TN taskname /TR C:\Windows\System32\calc.exe /ST 15:10 /RI 10 /ET 15:31 /K /SD 09/07/2009 /ED 09/07/2009 /F

Is there any way of doing it with command line (only command line).Please help me..Thanks in advance.

**My Requirement:**Run an exe every week day morning 9:00 am to 3:00 pm every 10 mins. Schedule it using a program or from bat file or command line only once.

**EDIT:**Ok Looks like I need to figure out a way. My main problem is the /ET option (End Time) is disabled in XP. So I am trying it through a batch file which will create scheduled task for tomorrow morning starting at 9:00 AM and a c program which will delete it when it is 3:00 PM and recreate the scheduled task at next day morning 9:00 am. And this process repeats. But here also System date format is spoiling the plot. I need to figure out a way.

Am I missing an easy way?(angry..haa).

Or else throw out the windows scheduler in dust bin and use any open source small foot print schedulers which can do the required work for me and we can package it with our application?Or do I need to write my own custom scheduler which can run in background? (this is a whole new question). If I need to write a command line custom scheduler how can I run it in background in XP. Or How can I run a scheduled task in background(I mean cmd.exe should not popup when it is running).

Sorry for too many questions. I am a bit frustrated. Please Understand.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T13:34:45+00:00Added an answer on May 12, 2026 at 1:34 pm

    I don’t think that is possible with schtasks in Windows XP. You could config it to run a VBScript every ten minutes and in that VBScript you can check weekday and time.

    If WeekDay(Date,2)<6 Then
      t=Time
      If t>TimeValue("9:00:00 AM") and t<TimeValue("3:00:00 PM") Then
        Dim WSHShell
        Set WSHShell = WScript.CreateObject("WScript.Shell")
        WSHShell.Run "notepad.exe", 1, false
      End If
    End If
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a repeated python schedule task as following,which need to run getMyStock() every
I have a rake task I need to run as a daily job on
I need to run the application that I have made in Xcode on my
I need every night to run a task by Schedular (CRON). This task can
I need to use a customized Periodic Task in Windows Phone 8. I have
I have need to periodically run a background task in my rails app. I've
I need to setup some kind of repeating task to run every 30 minutes
I need to run a task every hour on the hour (00:00, 01:00, 02:00,
I have a windows shared hosting and i need to run some scheduled c#
I'm using CLIq and scheduled a task that is supposed to run every x-hours.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.