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
1answer
58 views

“Simulate” trigger for Windows Task Scheduler

I have set task with this trigger: At system start up - After triggered, repeat every 5 minutes indefinitely. But I can´t restart OS, I need run this task now and I need repeat it for 5 minutes. This ...
1
vote
2answers
1k views

How can I force a scheduled .bat job to run in the foreground?

I have a simple .bat that runs a PHP script at the same time every day. @echo ON php C:\path\to\script.php argument pause It runs fine when I double-click the .bat file. And I set up a scheduled ...
0
votes
1answer
98 views

Batch rename script to rename/replace square brackets

I am currently using Windows Server 2003 and would like to create a schedule task or command to run which would batch rename and replace all square brackets '[]' from file names and replace them with ...
0
votes
1answer
77 views

Setting a CRON to be run on every 1st and the 3rd Monday

I need to set up a CRON job to be scheduled in every 1st and the 3rd Monday of every Month. I'm using the Plesk control panel for setting these as follows. Currently CRON runs successfully, ...
1
vote
1answer
96 views

how to set task scheduler to run disk cleanup and automatically respond to popup window using 'Enter' key

I'd like to schedule a task running windows application 'Disk Cleanup', but how to automatically respond to the popup windows using 'Enter' key?
1
vote
1answer
135 views

How can I make Windows XP automatically logoff 2 hours after logging in?

I have a Windows XP netbook and it is protected with a password. I want to be able to control the time other people spend on the computer, so whenever anyone logs in I want the computer to ...
0
votes
1answer
167 views

Can I Rename the Title of Command Windows from the Task Scheduler

We have several command line apps that are launched from the Task Scheduler. They all have the title 'taskeng.exe'. Is there a way to rename the windows, to make them easier to identify? We're ...
3
votes
0answers
278 views

How can I diagnose why my launchd task isn't running on schedule?

I've read the launchd.plist man page, Is launchd supposed to pick up "missed" events?, and launchd seems ignore StartCalendarInterval on Yosemite but none of those have allowed me to ...
0
votes
1answer
36 views

Why the tasks cannot be started?

I have defined scheduled task like it in a windows 2012 server which is running in a Virtual Box. I can start these tasks with schtasks /RUN /TN start-dop001 as a user 'dop001'. The task will ...
0
votes
0answers
134 views

Task Schedule excel file with ODBC/Oracle connection

I am having problem running an excel file with ODBC connection for Oracle to run via Windows-7 Task Scheduler. It will just say running. What the excle file does. After I open the file, it will ...
0
votes
0answers
114 views

Running mode from the Windows 8.1 task scheduler

I use a Lenovo Y50-70 laptop and it has a known issue that resets the keyboard's repeat rate to the minimum after resuming from standby. A fix was posted here already, but I would like to run it from ...
0
votes
0answers
23 views

Disconnect keyboard/mouse in Windows 7/8.1 as trigger for running a programm

I'm using a KM (keyboard/mouse)-switch toggling between Desktop and Laptop Windows (7 and 8.1) machines. Both are connected via Displayport to the same UHD monitor which is able to select the active ...
1
vote
1answer
268 views

How to target an event by the process name as well as the ID?

I have managed to create a scheduled task that will be triggered by an event ID. For example, I have a task that will run winver.exe whenever event ID 4688 is logged. So if I run notepad.exe from Run ...
0
votes
0answers
64 views

Computer does not stay awake after scheduled task

I have a scheduled task that wakes up the computer to run a batch file. However the computer turns back off after some time. I have my computer set to (never sleep) so after waking up from the task it ...
0
votes
0answers
40 views

Why doesn't my Windows 7 task show up in Task Scheduler?

Windows 7 Pro 64 bit: I added new task, to run .bat every night, by doing steps below. But new task doesn't show up in Task Scheduler's Task Status or Active Tasks. I tried adding it again, but it ...
0
votes
1answer
52 views

Run Windows 7 Task CMD with SYSTEM user

I have a .cmd script I want to run every 5 minutes. if I add a Windows 7 Task for that it runs fine if I provide a real user. But I want to run it with the SYSTEM user. Doing this the script does ...
0
votes
0answers
371 views

Windows task scheduler with regular user

I have a powershell script on my network share (\server\dir\my.ps1). if I run this from command prompt (powershell -file "\server\dir\my.ps1") than work as expected. if I create a basic task in the ...
2
votes
1answer
768 views

batch file runs fine manually, but line that launches exe fails when batch run in task scheduler

I have a batch file (below) that works perfectly when run, however, when I set up the bat file in the task scheduler it ain't working right. The task scheduler does indeed run the task successfully, ...
0
votes
0answers
63 views

Windows 8.1 Apps starting in background

Being new to Windows 8.1, I'm always curious at what it does and how it differs from the older versions. One interface that I've been paying attention to is the task manager. While doing so, I ...
0
votes
0answers
101 views

High CPU in Windows 8.1 but can't access Windows backup as per previous answers

Since unfortunately needing to purchase a laptop while WIndows 8.1 is the norm, I've been plagued with problems of high CPU. After a month of use, I inadvertently logged into the Windows Store and ...
0
votes
0answers
214 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 ...
1
vote
0answers
134 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
2answers
1k 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 ...
0
votes
1answer
185 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
1answer
381 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
2k 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
33 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 ...
3
votes
1answer
274 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 ...
1
vote
2answers
2k views

Windows scheduler that runs every x minutes daily on the command line

Is there a way to schedule a task (.bat) through the command line that runs every five minutes daily? I also want it to run even if the user isn't logged on. What is the exact command line syntax?
2
votes
1answer
97 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
184 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
1k 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 ...
2
votes
1answer
207 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 ...
1
vote
0answers
179 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
97 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 ...
0
votes
0answers
15 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. ...
3
votes
1answer
310 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: ...
4
votes
1answer
1k 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 ...
0
votes
1answer
205 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 ...
0
votes
0answers
46 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
138 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
1answer
23 views

OS X scan folder for new html files

I am looking for a way to scan a selected folder for new html files. The idea is to save html files on my mobile then have those files sync to my home system and then download (through a download ...
0
votes
3answers
872 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 ...
1
vote
2answers
690 views

Windows pausing service instead of restarting it when batch file called from task scheduler

I have set up a task in Windows Task Scheduler to run at a specific time each day. The task simply executes a batch file I've created to restart my Windows service. This is the contents of that ...
0
votes
0answers
194 views

Create a Windows XP Scheduled Task to run at the logon of each user

On Windows Vista onwards it's possible to configure a scheduled task to run at the logon of every user by setting the schedule to "At Logon" and the user account to be a group of users (E.g., ...
0
votes
2answers
230 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 ...
0
votes
1answer
151 views

How do I create a scheduled task to connect to another wifi connection

I’m running Windows 8.1 and would like to set up a scheduled task to connect to another known wifi connection and then run the required scripts that I need. I’m aware of making a scheduled task run ...
2
votes
2answers
10k 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 ...
2
votes
1answer
964 views

Adding attachment option to scheduled email vba script

I am learning VBA, but for the time being I am not that good and I found this macro: Scheduled and recurring email in Outlook? It sends an email thanks to a scheduled appointment set in the ...
1
vote
1answer
160 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 ...