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)

1
vote
2answers
10k views

Windows scheduled tasks fail with 0x1, don't log errors

I have three Python scripts running overnight as scheduled tasks on a Windows Server 2008 VM. I can run them manually with no problems. But when I look at the Task Scheduler each morning, the first ...
0
votes
0answers
16 views

Automatically Wake PC at certain time without wake-on-lan

I feel like this shouldn't be too difficult. I want my PC to turn on at 7:00 AM every morning. I have a Toshiba satellite L50-B-1LN running windows 8. It uses UEFI instead of a normal BIOS. In there ...
0
votes
0answers
8 views

how IDM or IDA scheduler work? [closed]

i want to know how does scheduler download managers like idm or ida(westbyte) work? is they are using windows scheduler to do the work(like shut down the pc in defined time) ? or they have there own ...
0
votes
0answers
8 views

Task Scheduler permissions in Win 2008 server--who has edit permissions?

I'm a little confused by Windwos Task Scheduler permissions (Win 2008 R2). Do local admins have some, but not all, permissions to any task? For example (and excuse me for what may seem a rant) I ...
1
vote
3answers
11k views

Why does my scheduled task fail with error (0x4)

I have a scheduled task that is supposed to run a batch file. The batch files runs file when called on it's own, but does not run when wrapped in a scheduled task. Here is what the dialog looks like: ...
1
vote
2answers
892 views

How to run AutoHotKey script as an admin every time a user logs in?

I have computers where quite a few users log in. I want to restrict the usage to a maximum of 12 hours after which an ahk script logs off the user. I have the following solution but couldn't figure ...
0
votes
0answers
34 views

Windows Task Scheduler - Task Starting Despite AC Power Condition

On a laptop, I have created a task in Windows Vista SP2 which has the condition "Start the task only if the computer is on AC power". Also checked is "Wake the computer to run this task". I then ...
0
votes
0answers
22 views

Ways to start a program at windows startup?

I had an updater program that started itself on logon but was not able to find it anywhere. After some time I found a hidden task in the task scheduler and managed to turn it off. That made me wonder, ...
1
vote
3answers
9k views

How to convert a scheduled task from Xp to Windows 7

I have a backup of some .job files (i.e, scheduled tasks) from my old computer. I see that windows 7 does not support job files instead they accept xml files. So, i would like to know if there is a ...
0
votes
0answers
24 views

Can you run a scheduled task when the monitor is turned on / off?

As the title says I am wondering if there is a way to detect when the monitor is turned off at all? There are "Hardware Events" under when a specific event is lodged menu however I am not sure if this ...
0
votes
2answers
120 views

Computer (win 8.1) starts by itself

My windows 8.1 desktop has suddenly decided to start itself during the night. It has not done that before and I suspect the behaviour might be new since new year. 1st of january 2015, it started 0615 ...
6
votes
4answers
8k 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. ...
2
votes
2answers
5k 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
1answer
203 views

Unlock PC with Windows Task Scheduler

I need to set up a Scheduled Task to unlock Windows 7 PC at specific time. And second Task, to lock at other specific time. Is this possible by cmd.exe command, or I need to use some third party ...
1
vote
3answers
2k 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") ...
1
vote
1answer
2k views

“VirtualBox - Critical Error” When VMs are Runned From Scheduled Tasks

I have 2 VMs running with VirtualBox under a Windows 2003 Server R2 Standard x64 Edition, both are started with scheduled tasks when server starts. VMs: Debian x64 Windows XP Professional Both ...
0
votes
1answer
56 views

Run a scheduled task when a user changes the desktop background

I have a logon script deployed via GPO that changes the users desktop background to a company default, while also adding information via BGinfo that is useful for helpdesk calls. However, users ...
3
votes
0answers
27 views

Windows Task Scheduler Chart?

Does anyone know if there is any utility/tool that can make a chart of all tasks in Windows Task Scheduler based on time and date, so I will know if there is any overlap at certain point of time ...
1
vote
1answer
90 views

Run a program before Logoff and wait for finish

When I want to run a program (.exe \ .bat) before Windows 7 Home Premium Logoff \ Restart I use the Task Scheduler and I set a custom event: Log: System, Source: Winlogon, Event ID: 7002 \ 4634 \ 4647 ...
0
votes
0answers
24 views

Start an Indefinite Process on System Startup in Windows 7

I'm having a ton of trouble figuring this one out. I've written a listener program that just sits and waits for specific packets on a port on my system. I've tested it and know that it works so now ...
2
votes
0answers
23 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 ...
0
votes
2answers
51 views

windows scheduler that runs every x minutes daily in the command line

Is there a way to schedule a task (.bat) through the command line that runs every 5 minutes daily? I also want it to run even if the user isn't logged on. What is the exact command line syntax?
3
votes
3answers
10k 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 ...
2
votes
1answer
13 views

Does anyone have a Windows “at /every:” example to explain how to setup a batch file to run the first sunday of every month?

This is the one I have to run first day of the month, but I need to run it the first sunday of every month. at 13:00 /every:1 D:\DBMaintenance\MySc.bat Thanks
1
vote
4answers
143 views

Shut down PC at a determined time

I have a software (calibre ebook manager) that fetches news at 6 am. I want to do the following : Wake computer at 5:50 if not already on.(easily done in bios) A scheduler opens calibre at 5:55 ...
0
votes
1answer
83 views

Restart a computer at a given time with PowerShell

I'm looking for a way to restart a computer with PowerShell (Restart-Computer), at a given time (Example: 03:00AM). The PS-Script itself will run at a random time, when the user executes it, so it's ...
0
votes
0answers
20 views

How to schedule a task based on an application event?

I want to schedule the computer to be locked when a specific application displays a comment/notification above its Icon. Currently, I am trying to use the Task Scheduler in Windows 7 for this but do ...
1
vote
1answer
28 views

How Windows handles scheduled tasks when restarting computer?

I have an indefinitely running scheduled task that repeats every now and then and runs for few minutes. What happens when this task is running and I click restart or shutdown computer? Will Windows ...
0
votes
0answers
20 views

How to totally disable Microsoft Security Essentials Scheduled scan? [duplicate]

I have Win7 x64 with MSE installed, I made my own scripts for MSE scan and backup, jobs are starting at 4 am weekly. I'm using my router for WOL and scheduler for scan, backup and shutdown. Scheduled ...
9
votes
4answers
10k 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 ...
0
votes
0answers
16 views

Scheduled Task to download file via http but the file name changes monthly

I'm trying to automate a process on my PC to download a file which is published every month. While the file name changes, the path stays the same. For example: ...
5
votes
4answers
35k 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 ...
0
votes
0answers
13 views

How do I mount as SYSTEM?

I want to mount a share as system. I need to run a TACKSCHEDULER task as "Run when not logged on", but I can't access my network drives: mount: R: on /cygdrive/r type ntfs ...
4
votes
4answers
18k views

Automatically close program at a scheduled time each day

Is there a way to automagically determine if a program is running and close it at scheduled time, say 3 am every day? Maybe use task scheduler to close said application? if this is possible any ...
0
votes
0answers
28 views

Running a scheduled task as a domain user - C:\Users\TEMP is created

I am trying to run a scheduled task that runs as a domain admin user (let's call it DOMAIN\installer). Part of this scheduled task runs automated installers for our network. One such installer I have ...
0
votes
2answers
49 views

Automatically add screen shot to scheduled message in Outlook/office prank?

In Outlook (at least recent versions) it is possible to schedule messages, that is, write a message and then set it to be sent one week from now or similar. I wonder if it is possible to schedule ...
3
votes
1answer
80 views

Map a network drive to be used by a service

I am trying to map a network drive (the WD My Cloud HDD) to be used by a service (CrashPlan backup software) in Windows 8, something that I have achieved with this script: net use X: ...
1
vote
0answers
153 views

.bat script doesn't work by using window scheduler

i created a .bat script to perform daily folder compression. it is working fine when i double click the .bat file. However, it doesnt work when i include it in window scheduler. Below is the script: ...
0
votes
0answers
14 views

Start task according to bandwith speed?

How I can start task according to my downloading speed "Bandwidth". Lets say I want to start .bat file if my downloading speed didn't exceed 50 KB/s for more than 50 seconds. What tools should I have. ...
1
vote
2answers
7k views

VBScript in Windows 7 64bit Scheduled Task - Works with only run when logged in

So basically I have this VBScript that opens up an Excel 2010 instance, run a macro in it and close the spreadsheet. I am calling it using Scheduled Task to automate it. It ran beautifully when I was ...
0
votes
2answers
431 views

Running a powershell script at startup

I am writing a script to remove a computer from the domain, rename it, then add it back. It works fine when I set the trigger to AtLogOn but when I switch to AtStartUp I run into some issues. I get ...
0
votes
1answer
50 views

Windows task scheduler searching for the wrong file

I have a task that runs a .exe , It is a simple VB program that reads from a txt file, in the code I have this: My.Computer.FileSystem.OpenTextFileReader("test.txt") But when the scheduler runs ...
2
votes
4answers
24k views

Automatically delete old files from a specified folder?

I want to set up an automatic task that will automatically delete files older than X days from a specific folder. I'd prefer to do it without having to install any 3rd party software, but I'll be ok ...
0
votes
0answers
25 views

Setting a Scheduled Task with Windows XP Home Edition

I wanted to use this command-line tool in a batch : SCHTASKS /Create /SC DAILY /TN "MySoftware" /TR mysoftware.exe /ST 02:00 to create a Scheduled Task on a client's computer (I wanted to use a ...
0
votes
2answers
34 views

How to schedule application termination in Windows 8.1?

I have an app.exe file which I want to be terminated every monday at 19:00. Is it possible to schedule tha task which terminates app.exe ?
0
votes
3answers
1k views

windows 7 task schedule / mysqldump

Ive created a batch file to create a dump of a database and save it in a file with the current date as part of the file name. The batch file works brilliantly and all the data is saved correctly. ...
1
vote
1answer
52 views

How to capture a windows pop-up box event in task manager or by other method?

The pop-up box event is a windows error notification with a 'OK' click box. I want to auto-click the 'OK' or suppress the appearance of the pop-up box. But how to capture this event? I can't see ...
8
votes
5answers
16k 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 ...
0
votes
3answers
149 views

OSX - Schedule programs to start at night, close in morning

On Mac OSX, is there a program or method I could use to start an application (say Dropbox) at around 9pm at night and then close the application in the morning (say 9am). I've found Dropbox is making ...
0
votes
2answers
54 views

Synchronized script execution across multiple servers

I'm looking to run an automated task (a shell script) on multiple Ubuntu servers at the same time with as much timing accuracy as possible. Ideally, I'd like the time discrepancy between the start of ...