A scheduled task is a job scheduled to run at a specific time and frequency and run a specific command on the operational system.

learn more… | top users | synonyms (1)

14
votes
4answers
26k 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 ...
20
votes
6answers
85k 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 ...
14
votes
2answers
21k 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 ...
45
votes
8answers
48k views

How to prevent Windows 10 waking from sleep when traveling in bag?

I am not turning laptop off, but rather putting into hibernation, as it starts much faster and I can continue working without starting all apps again. It was working long time from Windows XP to ...
15
votes
1answer
73k views

Scheduled and recurring email in Outlook?

I need to send some emails at a specific time of the day and need to do it every day. How can I do it with Outlook? Delay delivery helps to send mail at a specific of time; but how to create new mail ...
8
votes
3answers
4k views

Is there any way to execute something when closing the laptop's lid?

I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid. My question aims to be generic, both for Windows and Linux. Something useful ...
15
votes
2answers
10k views

How to run a program when connecting to a specific network in Windows 7

I want to have an executable run every time I connect to my wireless network at home. The purpose is to sync a folder on my laptop with my desktop machine. Is there any way run a program or script ...
36
votes
8answers
36k views

User friendly way to schedule jobs in Mac OS X

Is there any easy way to schedule repeated jobs in Mac OS X? I know I could use cron, but I'm looking for a more user friendly way to do it, a GUI for schedules, something like this.
2
votes
1answer
15k views

Run task scheduler task on demand from limited user account in windows 7

My goal is to for a limited used to be able to run a netsh script that requires administrative privileges: netsh wlan stop hostednetwork netsh wlan start hostednetwork From my administrative ...
1
vote
2answers
7k views

Running bat file using Windows scheduler

I wanted to run a .bat file in Windows task scheduler, so I opened it, added a new task, browsed to the bat file, and... nothing happened. So I changed the timing to see if it'll run, and it didn't. ...
38
votes
3answers
42k 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 ...
6
votes
4answers
9k views

Is it possible to do safe USB autorun with Task Scheduler on Windows 7?

I found out that Windows 7 doesn't allow autorun on USB drives. Is it possible to circumvent this (in a safe way) by setting up a task with Task Scheduler, which fires when the USB drive is inserted?...
16
votes
5answers
42k views

How can I open a URL on a schedule in the default browser?

I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis. I know that if I was writing .Net code to do this, I could simply do something ...
6
votes
6answers
17k views

task scheduler won't wake the computer

I want my computer to start uTorrent at 4 o'clock in the morning, when I'm asleep. But the computer is a bit noisy so I put it to sleep mode every time I go to bed. I've tried creating a task in Task ...
3
votes
1answer
1k views

Scheduling a task before sleep in Windows 7 and hold off the sleep event until task runs

Note that this is different than the other questions I found (I did search), like: Is there any way to execute something when closing the laptop's lid? I used the same trick of scheduling a task ...
5
votes
4answers
9k views

Schedule Windows XP wallpaper change without additional apps

Ideally, I'd like to be able to do this through a batch file or VB script, so I can schedule it to run at different times of the day (dark wallpaper at night vs. light wallpaper at day). I am aware ...
7
votes
2answers
26k views

Set windows scheduler to schedule open a website, webpage or the bookmark [duplicate]

I have a bookmark: C:\inetpub\services\Full Scan\full scan.url or a link: 10.237.49.250:8080/scanner/run.aspx?FULLSCAN=ON how can I schedule either of them to open in IE or Chrome?
1
vote
1answer
5k views

How can I recognize a running batch file in task manager?

I run a few batch files as SYSTEM (as services) and they appear as cmd.exe in tasklist. Sometimes I need to terminate one of them but I cannot decide which cmd.exe to terminate. Plus; I run many ...
2
votes
2answers
7k views

Is it possible to schedule my laptop to mute and unmute at a specific time?

I always used to wake up to my favorite radio station on my alarm clock. However, I have moved and can no longer get that radio station over the air. To solve this problem, I would like to stream the ...
4
votes
2answers
1k views

Schedule to open website

I'd like to open a website at regular intervals per day, i.e., the browser should open and automatically navigate towards a pre-set URL. I looked at options like scheduling to open browser, but I can'...
4
votes
2answers
5k views

Run script on Windows every n minutes

What's the best way on a Windows machine to run some sort of script every n minutes? I've googled around and read that Windows Scheduler is best avoided.
3
votes
5answers
3k views

The selected task “{0}” no longer exists. To see the current tasks, click Refresh

When I start my task scheduler on Windows 7 I get a dialog with the following error: The selected task "{0}" no longer exists. To see the current tasks, click Refresh Also there's a UUID, ...
2
votes
3answers
2k views

How to start application at a particular time?

I am downloading a file from uTorrent. The file is approximately 10GB. But the problem is I want to start the application at a particular time, not the downloading. I know about the scheduler function ...
2
votes
1answer
4k views

Run a scheduled task after a Windows service is started

I want to run a scheduled task every time after a given service is started. I have looked for a way to set a trigger on a service start, so that the service in question may be started automatically ...
1
vote
1answer
58 views

Run batch job periodically after a process has terminated

I used FreeFileSync to create a batch job to backup my Firefox profile and I'm not sure how to run it periodically (every hour or so) or after Firefox has been closed. FreeFileSync's website ...
10
votes
4answers
17k views

Sync Google Drive when not logged in

I have installed Google Drive on Windows Server 2008 R2. When I login to the server, Google Drive starts automatically and synchrnoizes files, pulling changes down from the cloud. All good so far. ...
10
votes
3answers
26k views

How do I specify “Run with highest privileges” in SchTasks?

When I use the GUI Task Scheduler, I can easily check the "Run with highest privileges" checkbox. I found no such option in the SchTasks command line too, however. Is there a way to do that from the ...
5
votes
4answers
7k views

Windows Task Scheduler on File change

I am trying to synchronise my files between a Win7 Starter laptop and WinXP workstation. As Win7 Starter has limited sync support, I installed SyncToy 2.1 and it works fine. However, it requires my ...
4
votes
1answer
807 views

Simplest setup on Windows to send HTTP request, get and apply regex to response, and write match(es) to output file

I'd like to write a script that records the size of the close votes review queue on SO (currently ~95.5k), polling just a few times an hour, so I could plot a general trend. I know what I'm going to ...
9
votes
1answer
31k 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. ...
5
votes
2answers
7k views

Lock Screen after screensaver starts + delay

I would like to have my win7 desktop lock after say 15 minutes of idle time. I also want my screensaver to start at 5 minutes of idle time. I tried using programs that run a command after a certain ...
5
votes
2answers
14k views

FTP BAT file - Windows Scheduled Task

Is it possible to create a scheduled task in windows, that connects to an FTP site, and downloads all the files and folders within the root directory (or specified folders in the root directory) - for ...
4
votes
1answer
16k views

Schedule a task with admin privileges without a user prompt in windows 7

In windows 7, I'd like to schedule a program to be run with administrative privileges, without having the user need to respond to a prompt (which requests elevated privileges) every time the scheduled ...
4
votes
3answers
726 views

linux shell, keep task alive for specified time

I am looking for a tool to keep a task alive (restarting if necessary) for a specified amount of time (in seconds), and then kill it and stop. For example: keep_for 3600 rsync foo bar:faz should for ...
11
votes
2answers
8k views

Will Windows Scheduled Tasks execute if the computer was off at the scheduled time?

If I schedule a task using windows task scheduler for, say, 2 minutes from now, and for some reason the computer is shut down 1 minute from now, and turned on 3 minutes from now, will the task that ...
9
votes
5answers
7k 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 ...
8
votes
1answer
18k views

What “user” must a scheduled task run as in order to be visible for all users?

I wish a task to be scheduled to run when any user logs on, but is not dependent on any one user being logged on, so I pick "Run whether user is logged on or not". The problem with this is that the ...
8
votes
3answers
73k views

Where have the Scheduled Tasks gone to in Windows 7?

I cannot find Scheduled Tasks under control panel. Where did they move it?
6
votes
4answers
18k views

How to execute a scheduled task with “schtasks” without opening a new command line window?

I have a batch file that creates a scheduled task using schtasks like this: schtasks /create /tn my_task_name /tr "...\my_path\my_task.bat" /sc daily ...
6
votes
9answers
2k views

How can I write a cron job that will block my internet from 7pm to 7am? (So I can get some sleep)

I am using OSX 10.6 and it has cron built in. How can I write a cron job that will block my internet from 7pm to 7am every day? Im sure this must be simple but I could only find one example online ...
1
vote
1answer
4k views

How to run an Access script using windows task scheduler

I have a VM running Windows Server 2008 R2 Enterprise and want to use the Task Scheduler to run an Access script. This script will do some stuff and then close. I've already written and tested the ...
1
vote
2answers
264 views

Mapped Drive inaccessible from Windows Scheduled task

I am working with python 2.7.9 (64 bit) and windows server 2012 R2 I am trying to set up a windows scheduled task to run a lengthy python script every day. I've managed to by calling the python from ...
0
votes
2answers
338 views

Auto backup photos to network drive

My wife's ultrabook is getting full of pictures. I have a NAS that all our pictures are on. What I want to do is store EVERY picture on the NAS (easy) but keep all the photos from the last 12 months ...
4
votes
2answers
617 views

HP laptop (Windows 7 x64) turns itself on @11:30am every day

My HP laptop wakes up from sleep every day at 11:30am by itself. No tasks scheduled for that time (either user or Windows tasks). No AV scans or updates scheduled for that time. Auto-defrag & ...
3
votes
0answers
47 views

Taking screenshots when I'm not logged in

I'm looking to take several screenshots from an application at a certain time of the day (let's say 3 o'clock, when I'm certainly not logged in) . Currently I'm using NirCmd to take the screenshots, ...
3
votes
2answers
965 views

How to restrict use of a computer?

Suppose that some person is insomniac because of a bad habit of chatting on the IRC every night until 3AM. That completely ruins this person's life because he is unable to wake up on time to attend ...
3
votes
3answers
5k views

it opens “open with” prompt whenever scheduled task run

I am trying to run a .vbs file on every five minutes. I am trying to do this using windows task scheduler. In Actions tab -> New Action, I select the file ("D:\Documents\FC3 Savegames\FC3.vbs") ...
2
votes
3answers
10k views

Scheduled task running as SYSTEM - execute something as current user?

I have a scheduled task which runs a batch file which does some stuff. I want the batch file to kick off another batch file which runs in user space; i.e. %username% == the currently logged-in user, ...
2
votes
1answer
1k views

Adding attachment option to scheduled email vba script

I am learning VBA, but for the time being I am not that good and I found this macro: Scheduled and recurring email in Outlook? It sends an email thanks to a scheduled appointment set in the calendar....
2
votes
2answers
2k views

WinXP Scheduled Task: Open a webpage in a browser

I am trying to create a scheduled task that opens up a webpage that has requires credentials for an http login dialog. I can get IE to load the page, but it will not remember my password for some ...