Skip to main content

Questions tagged [scheduled-tasks]

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

Filter by
Sorted by
Tagged with
119 votes
8 answers
377k 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
35k 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
50 votes
4 answers
248k 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 ...
notAlex's user avatar
  • 607
47 votes
9 answers
60k 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.
Daniel Cukier's user avatar
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
33 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
228k 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
23 votes
3 answers
49k 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)?
me.at.coding's user avatar
  • 1,587
23 votes
6 answers
8k views

Is there a way to schedule tasks in windows specifying a specific time zone?

I need to schedule several tasks to run, where each needs to run at a specific local time in a different city. For example, one job might need to run at 19:00 New York City, and another needs to run ...
Chuu's user avatar
  • 763
22 votes
8 answers
43k 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 ...
valya's user avatar
  • 918
22 votes
1 answer
127k 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 ...
Nam G VU's user avatar
  • 12.4k
21 votes
4 answers
98k 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 ...
G.P. Burdell's user avatar
21 votes
2 answers
21k 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 ...
Lucas Wilson-Richter's user avatar
20 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,768
19 votes
2 answers
91k 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?
Andrew's user avatar
  • 525
18 votes
2 answers
22k views

Search Task Scheduler Library

I've inherited a server with several hundred scheduled tasks. There's no consistent naming scheme, so finding some particular task that performs some particular action is rather tedious. Is there any ...
all_ice's user avatar
  • 183
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
16 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,112
16 votes
4 answers
20k views

Windows 7 Task Scheduler is giving me an error saying "The specified account name is not valid"?

I am running Windows 7 on a Dell Precision workstation. I started having this issue right after changing my PC name. I get the error message when in the Task Scheduler Library folder and right-click a ...
Alex F's user avatar
  • 440
16 votes
1 answer
54k 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 ...
MrWhite's user avatar
  • 2,865
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
80k 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
14 votes
3 answers
52k views

Windows 10: Scheduled tasks with workstation lock/unlock not being triggered

I'm running Windows 10, and trying to get a pair of scheduled tasks working. These tasks are set to run on workstation lock and workstation unlock, and execute a script that remotely locks or unlocks ...
Fopedush no longer feeds AI's user avatar
14 votes
5 answers
120k views

What's the best tool to use to automatically backup selected folders from Windows to my external hard drive? [closed]

I have a 1TB external hard drive and I'd like to periodically schedule backups of my "Libraries" in Windows to the external drive. I'd prefer if it could detect what files have changed and ...
PhD's user avatar
  • 349
14 votes
3 answers
171k views

How to see scheduled task logs?

On Windows 7, is there a way to see a log of scheduled tasks?
Aureliano's user avatar
  • 141
13 votes
5 answers
34k 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. ...
njr101's user avatar
  • 251
13 votes
3 answers
15k views

Creating Task With a Batch File - run task as soon as possible if missed

When creating a task with a batch file or command line, how do I specify the following option? Run task as soon as possible after a scheduled start is missed I know that this option exists via the ...
Nick Painter's user avatar
13 votes
3 answers
23k views

How to schedule download of windows 7 updates?

To put it short: I'd like to schedule my windows updates to start/stop at certain times of day. How can I do this? More explanation: This is because my internet traffic is limited by ISP and it's free ...
atoMerz's user avatar
  • 379
12 votes
5 answers
80k views

Powershell script to list scheduled tasks on remote systems

I want to write a PowerShell script that lists all Scheduled Tasks on remote systems, and includes the user account which will be used to run each task. The local system is running Windows 7, with ...
Ob1lan's user avatar
  • 1,906
12 votes
5 answers
13k 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 /...
Kimi's user avatar
  • 221
12 votes
2 answers
18k views

Do I need to change the password for a scheduled task on Windows XP if I change it?

I have setup a schedule as follows Schtasks /Create /TN sftp /TR c:\temp\start.bat /sc DAILY /ST 06:00:00 /RU {user} /RP {password} Now as the PC I am connected to is part of a domain and passwords ...
PeanutsMonkey's user avatar
11 votes
11 answers
6k views

Switch on the computer automatically

Is there any way to switch on the computer automatically at a specific time. Is there any BIOS clock trigger mechanisms available to switch on automatically. EDIT: I have a Dell Inspiron laptop. Does ...
softwarematter's user avatar
11 votes
3 answers
5k 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'...
user avatar
11 votes
3 answers
14k views

Does Win7 support scheduling system image backups?

Is there a way to schedule/automate system image backups in Windows 7 Pro? Or do I have to do it manually every time?
maxim's user avatar
  • 167
11 votes
4 answers
11k views

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

I shall be helping to facilitate a course that uses licensed software. The software is somewhat expensive and allows only a limited number of concurrent installations, so what I'll do is to install ...
techtechmo's user avatar
11 votes
3 answers
14k 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 ...
mati's user avatar
  • 301
10 votes
2 answers
36k 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 account ...
Boris Hamanov's user avatar
10 votes
1 answer
14k views

How to predefine file/directory parameter to xcopy

I need to run xcopy command. But when I type it with all parameters: xcopy \\<server>.<domain>.com\c$\Users\<user>\Documents\New_ADuser_mustang.ps1 C:\IAM\New_ADuser_mustang.ps1 /C /...
Petr Synek's user avatar
9 votes
4 answers
13k 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 ...
Kevin's user avatar
  • 281
9 votes
1 answer
2k views

Org-mode repeating tasks with subtasks

Is there a way to make a repeating task or project with subtasks in org-mode that resets properly? I want to do something like the following: * TODO Weekly report SCHEDULED: <2013-12-29 +1w> ...
darkfeline's user avatar
  • 2,172
8 votes
7 answers
14k views

Linux/Bash, how to schedule commands in a FIFO queue?

I want the ability to schedule commands to be run in a FIFO queue. I DON'T want them to be run at a specified time in the future as would be the case with the "at" command. I want them to start ...
Andrei's user avatar
  • 493
8 votes
1 answer
3k views

Firefox keeps implementing task in Task Scheduler

There is a task in my Task Scheduler added by Firefox called "Firefox Default Browser Agent". Every 10 minutes it takes focus away from what ever I'm doing and opens a cmd for about 0.01 ...
ToMakPo's user avatar
  • 325
8 votes
3 answers
80k views

Where have the Scheduled Tasks gone to in Windows 7?

I cannot find Scheduled Tasks under control panel. Where did they move it?
Nescio's user avatar
  • 281
8 votes
1 answer
22k views

Updating a scheduled task with 'repeat every x hours' causes it to be triggered on Windows 10

Synopsis I have a scheduled task that runs a program with highest privileges every 4 hours. On Windows 10 version 1803 (build 17134.81), any update to this task causes it to be triggered as soon as ...
fhl's user avatar
  • 83
8 votes
1 answer
7k views

Slurm jobs are pending, but resources are available

I use SLURM as a job scheduler and queue for a small cluster (single node with 64 cores). To submit a batch job I use: > sbatch run.sh Where run.sh looks like: #! /bin/bash #SBATCH --ntasks=4 ...
Simple.guy's user avatar

1
2 3 4 5
20