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)

5
votes
5answers
6k views

Starting scheduled task by detecting connection of USB drive

I know it has been discussed before several times that it is not possible to start an application from an usb drive when connecting it due to limitations of autorun (or autoplay??) in Win 7. But it is ...
7
votes
3answers
2k 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 ...
6
votes
2answers
13k 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 ...
1
vote
2answers
6k 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
8k 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 ...
14
votes
2answers
5k 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 ...
32
votes
8answers
25k 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.
5
votes
5answers
7k views

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

so 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 ...
3
votes
3answers
26k 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 ...
4
votes
6answers
11k 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 ...
7
votes
4answers
10k 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 ...
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
4k 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 ...
2
votes
1answer
9k 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 ...
4
votes
3answers
3k 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.
2
votes
3answers
769 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
2answers
769 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 ...
5
votes
4answers
5k 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
265 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 ...
4
votes
3answers
641 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 ...
3
votes
2answers
10k 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 ...
2
votes
1answer
527 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 ...
6
votes
4answers
10k 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 ...
5
votes
3answers
58k views

Where have the Scheduled Tasks gone to in Windows 7?

I cannot find Scheduled Tasks under control panel. Where did they move it?
4
votes
3answers
2k 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
1answer
15k 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. ...
4
votes
2answers
8k 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
3k 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
3answers
3k 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 ...
1
vote
1answer
2k 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 ...
0
votes
2answers
222 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 ...
0
votes
1answer
528 views

Running an Automator task at night

I've just created an Automator workflow and I'm using crontab to execute it at night. The problem is that, after a while, the machine is going to sleep and a password is required (this is the intended ...
4
votes
2answers
526 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 & ...
4
votes
9answers
1k 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 ...
3
votes
1answer
1k views

Schedule powershell script with admin priviliges

I want to schedule a powershell script to run on my windows 7 system everyday with admin priviliges. How do I do so?
2
votes
1answer
710 views

FTP batch file works from command line but not scheduled task

I want a windows scheduled task to execute an ftp batch file which will upload some files to my server. If i run the argument below from the command line then it executes successfully. ftp -i ...
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 ...
1
vote
0answers
122 views

Can't create a COM object in a powershell script running as a scheduled task

I have a powershell script I'm trying to run as a scheduled task. Its purpose is to perform a nightly export from an Access database, then upload the exported flat files to an SFTP destination. The ...
1
vote
3answers
4k views

How to stop scheduled chkdisk on windows 7?

I have a problem with windows 7 64-bit. I was trying out chkdsk command line options and scheduled a chddsk /r on next start. After that I disassembled the laptop on which I set the chkdsk. After I ...
1
vote
2answers
1k 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
1answer
5k views

How can I schedule a daily task with automator on os x 10.6? [duplicate]

Possible Duplicate: User friendly way to schedule jobs in Mac OS X I have a script that I want to run once every day. I know I can do this with cron but it also seems there should be a way ...
0
votes
0answers
782 views

.bat runs from command line but not when scheduled

I've got a 1-line batch file that runs a pantaho etl job. It works fine when I run it from command line or gui, but the process doesn't even start when it's scheduled. I have the following settings: ...
0
votes
2answers
1k 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") ...
0
votes
1answer
2k views

Windows 7 Task Scheduler to start application in user session

When adding a new scheduled task, the application being launched will run in session 0, which means that the windows won't display. Is there any way to let Task Scheduler start the process in the user ...
0
votes
2answers
2k views

Trigger the opening of a second program when opening another

How does one go about adding a trigger to open another program when the first opens. Specifically, I would like to open PeerBlock whenever I run uTorrent, but I can see this being very useful for ...
0
votes
3answers
3k views

How to start a virtual machine via a scheduled task?

I want to "start" a virtual machine (it may be powered down or hibernating) via a scheduled task in Windows 7. I cannot figure the correct way to do this. I tried scheduling the cmd task, which works ...