Azitech

Azimout's Linux weblog

Task scheduling on Windows XP

with 3 comments

The wizard provides limited choices, so it’s better to do it from e terminal.

  • To schedule a task to run every minute, run schtasks /create /tn taskname /tr command_to_run /sc minute
  • To delete a task, run schtasks /delete /tn taskname
  • Your account should have a password, schtasks will ask for it
  • To schedule a task to run daily at midnight, run schtasks /create /tn taskname /tr command_to_run /sc daily /st 00:00:00

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/schtasks.mspx?mfr=true

Advertisements

Written by azimout

02/03/2011 at 13:58

Posted in Howto

3 Responses

Subscribe to comments with RSS.

  1. If you want to create new tasks in task scheduler you can also use the ‘at’ command (no quotes ) http://support.microsoft.com/kb/313565

    Michal Kubiak

    03/05/2011 at 09:08

    • Thank you Michal. Thankfully, I’ve been able to migrate to a Linux system, so everything’s much easier now 🙂

      azimout

      03/05/2011 at 09:13

  2. Yes I can imagine 🙂 But I myslef have no liberty to choose right now 😛

    Michal Kubiak

    03/05/2011 at 09:43


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: