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)

32
votes
8answers
26k 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.
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 ...
11
votes
3answers
14k 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 ...
11
votes
4answers
3k views

How to set a Linux Ditribution to self-destruct (to wipe everything from the system partition) via a script

I know this is a rather strange question, but I actually need to implement something like this for work. I shall be helping to facilitate a course that uses licensed software. The software is somewhat ...
9
votes
1answer
3k 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 ...
8
votes
2answers
7k 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 ...
8
votes
4answers
26k 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. ...
7
votes
4answers
11k 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 ...
7
votes
4answers
1k views

Windows XP scheduled tasks and defragmenting?

I am trying to set a seduled task to defrag my HDD on a regular basis and following the guide on http://www.microsoft.com/windowsxp/using/setup/learnmore/tips/gehrke1.mspx. It does not work. That ...
7
votes
3answers
3k 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
1answer
3k 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 ...
6
votes
2answers
14k 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 ...
6
votes
4answers
5k 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. ...
6
votes
2answers
4k views

Microsoft JScript compilation error

For the past month until now, I'm getting the follow dialog from time to time. Probably few times a week. I'm running Windows 7 Ultimate x64 SP1 with all latest updates, and Java 6U29 (1.6.0_29-b11) ...
6
votes
4answers
11k 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
5answers
7k views

What is the command line to schedule a task to be executed once and soon?

I know there is the at and schtasks. But I couldn't figure out how to use them to execute a task soon and once. I have read about a soon command, but there isn't such command in my Windows version. I ...
5
votes
3answers
60k views

Where have the Scheduled Tasks gone to in Windows 7?

I cannot find Scheduled Tasks under control panel. Where did they move it?
5
votes
3answers
2k views

Run Linux script at time 'n' on first day, 'n+15 mins' next day, and so on

I'm trying to take timelapse images using my webcam. What I want to do is run a script at midnight on 1st Jan, then 00:15 on 2nd Jan, 00:30, 3rd Jan and so on. This can keep running forever, I'll ...
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 ...
5
votes
2answers
122 views

Are startup items, services, and scheduled tasks the only things that run without my explicit involvement?

On a virgin out-of-the-box Windows machine, and before making any Internet connection, if I wish to remove or disable any applications that might run without my explicit consent, is it sufficient to ...
5
votes
5answers
7k 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 ...
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 ...
5
votes
2answers
588 views

What are the criteria that Windows uses to put the system state on idle?

I'm looking that there are some tasks that are embedded with Windows that runs when system goes to idle state (such as Scheduled Defrag, System Restore, DefenderScan and RegistryBackup). However, ...
5
votes
1answer
3k views

In Task Scheduler what is the difference between “at logon” and “at startup”?

They both sound synonymous. Do programs "at startup" run before the programs "at logon"? Or do they still run if you don't logon?
5
votes
1answer
977 views

What windows 7 task scheduler event would respond to an idle END condition?

The Windows 7 task scheduler allows me to run a task when the computer goes idle, but there doesn't seem to be any obvious way to run a task when the computer resumes from idle, or is no longer idle. ...
5
votes
1answer
3k views

Task Scheduler - how to run powershell script with multiple parameters?

I am using powershell.exe as the Program and "-Command "& C:\Windows\logon.ps1; exit $LASTEXITCODE"; ExecutionPolicy RemoteSigned" as the Parameter, but it doesn't seems to be working. Some ...
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 ...
5
votes
2answers
4k views

Scheduled task to map a network drive runs, but doesn't map the drive

I have a task set up to run whenever the computer is logged onto that deletes all network folders and maps a network drive. Here is what is in the batch file: @echo off net use * /delete /y net use ...
4
votes
2answers
2k views

Shutdown a locked XP Computer

I have a scheduled task that shuts down a Windows XP computer at 6:00pm every day using the following command: shutdown.exe /s /t 600 /c "Windows will shutdown in 10 minutes. To cancel shutdown, ...
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 ...
4
votes
1answer
1k views

How can I make Windows 8 scheduler to run something once when the computer is idle but then wait for at least 12 hours in order to do the same?

I noticed that choosing the option to run only when it is idle and then to repeat the task indefinitely every 12 hours, i.e.: , did not do what I intended since it basically reset its 12h counter ...
4
votes
6answers
12k 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 ...
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
16k 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
1answer
2k views

Is it possible to schedule a task only on working days?

Is it possible to schedule a task only for working days (Monday to Friday)?
4
votes
1answer
4k views

How do I setup Task Scheduler in Windows 7 to compress a folder using 7-Zip File Manager?

I would like to get 7-Zip Manager to zip my wwwroot folder on a weekly basis. Is it possible to automate this with Windows 7 Task Scheduler, and if so, what are the exact steps to do this?
4
votes
2answers
5k views

How to schedule a task for sleep/hibernate [duplicate]

Possible Duplicate: Is there any way to execute something when closing the laptop's lid? I have a task that I want to run right before my computer sleeps or hibernates. Is there a way ...
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.
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 ...
4
votes
2answers
1k views

Selectively deleting system scheduled tasks

Windows 7 box has a list of scheduled tasks - > Default Windows tasks + Certain custom tasks that all start with a certain string. Previous code deleted all tasks with the command: schtasks /Delete ...
4
votes
1answer
9k views

Scheduled task giving last run result 0x80041324

I've got a scheduled task set up in my Windows 7 machine which is meant to run a BAT file when I'm not around, i.e. the machine has been idle for 15 minutes. Does anyone know how to track down the ...
4
votes
3answers
15k views

How to see scheduled task logs?

On Windows 7, is there a way to see a log of scheduled tasks?
4
votes
1answer
283 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
1answer
136 views

Scheduling Internet Access on the Mac

I'm a student with a Mac laptop on which I take notes. My school has an Internet network. I get distracted during class. I found this wonderful Mac app called SelfControl, but activating and ...
4
votes
1answer
1k views

What is the difference between “stop the task if it runs longer than” inside Trigger and under Settings tab?

When I schedule a task in Windows Task Scheduler, I can set "stop the task if it runs longer than" inside task trigger or inside Settings tab. If I set it inside the trigger it does not automatically ...
4
votes
2answers
7k views

Set windows scheduler to open a webpage or the bookmark

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
2answers
43 views

Power Management: Have Win 7 box turn on and off at a scheduled time

I sometimes need to run a batch job on my Win 7 Pro workstation at a fixed time. I use the scheduler to make sure the task runs then. But, I need to disable sleep beforehand, which wastes lots of ...
4
votes
1answer
7k views

How to import a scheduled task from an XML file?

I have created a scheduled task in Windows 7, which will run a batch file once a day. The task is running perfectly well on my computer. I have also exported the task to an XML file and want to ...
4
votes
2answers
1k views

Should I worry about Daylight saving time when planning to schedule backups?

So if there is a day: https://secure.wikimedia.org/wikipedia/en/wiki/Daylight_saving_time when we have to e.g.: set our clock back from 3am to 2am. Ok. So if someone creates a cron job at 3am, ...
4
votes
4answers
2k views

How can I prevent Windows from going to sleep during a scheduled task?

I have created scheduled tasks on both a Vista and Win7 machine which wake up the machine if it is currently in a sleep state. However, if the task takes longer than the power settings are configured ...