Skip to main content

All Questions

119 votes
8 answers
378k views

How to monitor a folder and trigger a command-line action when a file is created or edited?

I need to set up some sort of a script on my Vista machine, so that whenever a file is added to a particular folder, it automatically triggers a background process that operates on the file. (The ...
bigmattyh's user avatar
  • 1,564
68 votes
3 answers
97k views

Windows 7 Task Scheduler doesn't list my custom task(s)

I created a custom task from another application (Peachtree), but it never showed up in the Active Tasks list. So, I created it manually from within the Task Scheduler, but the task still hasn't ...
David Brown's user avatar
  • 1,493
65 votes
2 answers
36k views

Move scheduled tasks to a new folder?

In the windows task management I created a new folder, lets call it "mytasks". I expected to be able to organize new tasks into it by using drag&drop from existing tasks, but somehow that's not ...
me.at.coding's user avatar
  • 1,587
45 votes
6 answers
43k views

Trigger Task Scheduler in Windows 7 when computer wakes up from sleep/hibernate

I don't want task scheduler or whatever to wake the computer, but when I open the laptop back up and the machine wakes I'd like that to be the trigger that task scheduler or something uses to run an ...
Adam's user avatar
  • 736
34 votes
4 answers
89k views

Windows Task Scheduler: Schedule task to run once every 10 seconds

In my windows, I want to schedule a windows service to start once every 10 seconds. I tried using the windows task scheduler but it only gives me an option to repeat the service daily, weekly and ...
Parth Bhatt's user avatar
31 votes
6 answers
79k views

Starting scheduled task by detecting connection of USB device

I know it has been discussed that it is not possible to start an application from an usb drive upon connection due to limitations of autorun (or autoplay??) in Win 7. But it is possible to create a ...
gemisigo's user avatar
  • 478
30 votes
2 answers
33k views

Windows Server 2008 R2 - How to copy a scheduled task

I would like to create a new scheduled task that is extremely similar to an existing task. It would be a pain to write down or type out all the settings. Is there a way to copy an existing task to ...
Nick Vaccaro's user avatar
28 votes
9 answers
229k views

How to pass an argument to a Windows Scheduled Task with spaces in it

I need to set up a Windows Scheduled Task. It accepts 1 parameter/argument which is a path and can contain spaces. My Scheduled task does not work - it "breaks" the parameter up at the first space. ...
Rodney's user avatar
  • 431
26 votes
2 answers
6k views

How can I copy a scheduled task from a dead Windows to new Windows

My old computer died (hardware fault) and I had to reinstall everything on a new machine. All harddisks are intact and the old system disk is available as F: in my new machine. In the old system I ...
Kjell Rilbe's user avatar
21 votes
1 answer
84k views

Setting a shortcut to trigger task scheduler

I wanted to disable the UAC popup box when running the command prompt as admin, but this didn't work for me. What did work, was setting the task scheduler to run it as admin given a specific trigger. ...
Malabarba's user avatar
  • 8,788
17 votes
6 answers
28k views

Accessing Environment Variables in a Scheduled Task

When setting up a scheduled task, for the action section I'm trying to access an environment variable for the location of the executable that I wish to run. This is mainly because on one machine the ...
Paul Hadfield's user avatar
17 votes
5 answers
15k views

Windows equivalent to cron?

What's the Windows equivalent to cron, or for those of you unfamiliar with Unix, how does one schedule a program to run at regular intervals?
Paul Tomblin's user avatar
  • 2,122
16 votes
3 answers
30k views

What Does "Local Computer Resources" Comprise in Task Scheduler?

In the Windows Task Scheduler, the interface allows me to use a specific user to run the task (General > Security options). Under the Run whether user is logged on or not option, the interface has ...
palswim's user avatar
  • 3,531
15 votes
3 answers
21k views

Schedule a job from the Windows command line?

On Linux there is cron job and at job. Is there a way to schedule a job from the command line on Windows? The Task Scheduler GUI is not what I am after. I must modify a script to schedule an event ...
user avatar
15 votes
4 answers
81k views

How to schedule a windows task to repeat every day within a time range?

In Windows 7, how to schedule a task which repeats every hour, every day but within a time range. I have a script which needs to run everyday from 08:00 to 20:00 in 1 hour interval.Could not find any ...
Arun Mohan's user avatar

15 30 50 per page
1
2 3 4 5
24