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
23k 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 ...
19
votes
5answers
75k 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 ...
12
votes
2answers
20k 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 ...
14
votes
1answer
65k 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 ...
7
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 ...
42
votes
8answers
40k 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 ...
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. ...
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 ...
35
votes
8answers
35k 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.
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 ...
2
votes
1answer
14k 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 ...
34
votes
3answers
39k 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 ...
14
votes
5answers
38k 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 ...
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 ...
6
votes
2answers
23k 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?
4
votes
3answers
15k views

Using Task Scheduler to Run a Task Before Shutdown

As of writing, the only options available are to "Begin the task": On a schedule At logon At startup On idle On an event At task modification/creation On connect to user session On disconnect from ...
3
votes
1answer
6k views

Run minimized batch file from scheduler

I added a batch file to the Windows 7 scheduler and it works fine. The problem is it always displays a command prompt window when it is run. I created a shortcut for the batch file and set it to run ...
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 ...
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
2k 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, ...
3
votes
2answers
956 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 ...
2
votes
2answers
6k views

Schedule Computer to Shutdown and Turn on

I have a small computer running Windows Server 2012 for storing files for remote access during the day. At night, the machine is not needed. Ideally, I'd like the machine to do the following: ...
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 ...
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 ...
1
vote
1answer
40 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
3answers
24k 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 ...
9
votes
4answers
16k 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. ...
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
762 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
29k 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. ...
6
votes
3answers
7k views

Scheduled backup of certain directories in Windows 7

I'm using Windows 7 and I need to schedule a daily backup that does the following: The schedule needs to run daily at 7pm The backup needs to generate a compressed archive of selected backup ...
4
votes
3answers
723 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 ...
4
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 ...
3
votes
2answers
14k views

How can Windows 7 be set to sleep at 8pm and wake at 8am every day?

I'm trying to figure out how to get Windows 7 to sleep at 8pm and wake at 8am on a daily basis. I'm looking at Windows' services and there is a Shutdown.exe that can run, but it only seems to have a ...
0
votes
1answer
787 views

How to get a program to run at startup or logon in Windows 8 - with Administrator privileges - exactly as though app icon was double-clicked?

I have a program - Macro Scheduler - which requires Administrator privileges in order for me to run certain macros I have created. This requires running the application at startup in Administrator ...
10
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 ...
8
votes
5answers
6k 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
3answers
72k 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
17k 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 ...
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 ...
3
votes
1answer
12k 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 ...
2
votes
4answers
2k views

Skype calls at scheduled times to my mobile phone

I want to automate Skype to call my mobile phone at scheduled times. Sometimes when I'm working with very complicated (business) clients, I would like an escape plan if the meeting goes over an ...
1
vote
2answers
222 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 ...
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 ...
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 ...