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
25 views

scheduled task to open a PNG file

There is this picture, that I want to be shown every morning. I created a scheduled task, and in actions, I simply added a new action, that starts a program, and for the path of the program, I simply ...
0
votes
0answers
13 views

Start NPM and Node.js on machine startup using Windows Task Scheduler

I want to host my Node.js application in LAN (for testers). What I'm trying to is setting up the Windows task in Task Scheduler. My task needs to run npm start and node server.js commands to work as ...
0
votes
0answers
18 views

How do I create a scheduled task that will run as the logged in user

I am trying to write a scheduled task that will run in the context of the currently logged in user. It appears there was an option to run the task as a group in Windows 7 (see What "user" ...
0
votes
0answers
33 views

(Windows 10 Pro) Set task scheduler to gracefully shutdown when switching to battery

Long story short, we have a requirement tossed on us to make a Surface 3 shut down upon commercial power loss. I have went through Microsoft support, and we tried several things to attempt to disable ...
0
votes
1answer
36 views

I want to schedule a batch file to execute a command and redirect that output a text file

I want to schedule a batch file to execute a command and redirect that output a text file. This is my current solution: Del \\10.112.232.10\Netbackup_Softwares\Personal\Bharath\VM_Query\switch.txt ...
0
votes
1answer
20 views

SCHTASKS with OnEvent > Trigger has a duplicate source entry

I create a schedule tasks using the following command SCHTASKS /Create /TN EventLog /SC ONEVENT /EC System /MO "*[System[Provider[@Name='WindowsUpdateClient'] and EventID=21]]" /TR ...
1
vote
1answer
60 views

schtasks with multiple actions

I am trying to create a schedule task using command line which has multiple actions running more than one batch files in sequence among other things SCHTASKS /Create /TN TaskName /SC ONLOGON /TR ...
1
vote
0answers
22 views

Set Windows Server idle task

I want to execute a batch file when the computer has been idle (no keyboard or mouse inputs) for one minute using Task Scheduler on Windows Server 2012. I've had a go but the task doesn't seem to ever ...
0
votes
1answer
27 views

How to schedule two commands to run at certain times daily on Windows?

I'm on Windows Server 2012 and I need to restart a service at a certain point in time every day. I'm doing this using two commands, net stop and net start. This is what I have tried so far: SchTasks ...
0
votes
0answers
22 views

Linux RT vs 'niceness' priority and preemption

I wanted some clarification on the differences between real-time linux process priority (-99 - -1) and normal user-level 'niceness' (0 - 40) priority, and the effects on scheduling and pre-emption. ...
1
vote
1answer
28 views

Different result from command line prog when run by Task Scheduler

I call the following program from within another command line prog... :: NT_getdate.cmd return yumd-date in var='ymd' @echo on setlocal for /F "tokens=2,3,4 delims=/ " %%g in ('echo.^|date /t') do ...
1
vote
0answers
12 views

Scheduled and recurring email in Outlook? Open Dialog Box error

I have done these instructions Scheduled and recurring email in Outlook? Now when I try to import a calendar for example in Outlook 2016 I get an error that says "a dialog box is open. close it ...
-1
votes
2answers
22 views

Use Windows Task Scheduler To Put Windows To Sleep Without Batch File

How can I use Task Scheduler to put Windows 10 to sleep at a specific time without using a batch file?
1
vote
2answers
23 views

how to cancel a scheduled command for CMD

i just scheduled a hibernate command: at 13:00 shutdown /h Is there any command to abort this scheduled operation? shutdown /a didn't work, it said there is no scheduled shutdown. At 12:59 ...
0
votes
0answers
54 views

Run scheduled task from IIS ASP.NET site on Windows Server 2008 R2

A task should be run on a local machine now but it should work also on remote machine later. schtasks /Run /S 123.45.67.89 /U 123.45.67.89\Administrator /P * /I /TN "Name" gives "ERROR: User ...
0
votes
2answers
35 views

How can one prevent a Windows Scheduled Task from being killed upon OS sleep?

I have a Scheduled Task which runs an application upon user logon with the "run with highest privileges" checkbox turned on, so that the application can launch with admin rights. Unfortunately, when ...
1
vote
1answer
32 views

Hyper-Threading (SMT) Affinity and Equality

This question goes out to the Intel gurus that I know are out there. Are both threads on a physical CPU treated equally? As we know, hyper threading on intel CPUs is a system in which each physical ...
0
votes
0answers
37 views

How to connect to a wireless Display adapter automatically through scripts or Task Scheduler?

I am trying to project files to a Samsung TV which has a windows display adapter. I want to automate the entire process. So when the TV is switched on, I want the computer to continuously check for ...
0
votes
0answers
27 views

Windows Task Scheduler running Access using “Run whether user is logged on or not”

My Question: Is there a way to run MS Access from Windows Task Scheduler using the "Run whether user is logged in or not" option? Background: I am experiencing a similar issue to Windows Task ...
0
votes
1answer
73 views

Having trouble with windows 10 task scheduler

I have recently upgraded my windows 8.1 to 10, And now each time I leave my laptop on its own after a few minutes the CPU and Disk usage both go really up due to scheduled tasks. I tried disabling ...
1
vote
1answer
74 views

Stopping a scheduled task with a batch file action doesn't stop the program running in the batch file

I have several scheduled tasks that each execute a (different) batch file. Each batch file calls into the same program, with with separate command line arguments. If I Stop a task while it's running, ...
0
votes
0answers
14 views

Perform Background Tasks in Low Power Mode - Possible?

Is there a way to schedule low power background activities to be performed while a computer is idle, sleeping, or even powered off? Until recently I would have thought the answer was unconditionally ...
1
vote
2answers
36 views

How to schedule windows maintaince utility silently?

I am working as a system administrator, so i have responsibility to maintain each and every system. But our staff is non technical so each and every time i started some system maintenance utility like ...
0
votes
0answers
34 views

Alternative to “Run whether usr logged in or not” with Win7 Task Scheduler

I have a Scheduled Task in Windows 7 that cannot run hidden (Tera Term does not like running hidden, even using .ttl files). That means "Run whether user logged in or not" will not work within the ...
0
votes
1answer
60 views

Sending e-mail via powershell (Net.Mail.SmtpClient or Send-Mailmessage) works, but not when invoked by Task Scheduler

I have done a script to check UPS status, log it and send notification e-mail. Script works fine if run manually, but when executed via Task Scheduler, it does not send the e-mail. It does everything ...
0
votes
0answers
12 views

linux kernel scheduler's load balance acting weird

The machine i’m running on has intel i-7 processor – which has four hyper threaded cores – which means 8 logical cores . I forked 100 identical process that run in an infinite loop doing sqrt() – ...
0
votes
1answer
60 views

A scheduled task running every hour is taking focus away from my games. How do I find which one it is?

Every hour a scheduled task runs that opens a command prompt window for a brief moment, this causes any games I'm playing to lose focus and minimize. While I'm not 100% sure it's a scheduled task, it ...
0
votes
0answers
21 views

Batch - Schtasks Onstart Repeat Interval

Command I'm using: SCHTASKS /Create /SC ONSTART /TN "TaskName" /TR "path" /RU "user" /RP "pass" /RL HIGHEST I'd like to repeat this task every 10 minutes, which would be doable with the /RI flag, ...
0
votes
0answers
101 views

unsplash-wallpaper random in Windows Tasks, but not in background. How to?

I need to start this: unsplash-wallpaper random every hour on my Windows Desktop, but without Windows Command Prompt on Desktop every time. How to start it in background? UPDATE: I tried to ...
0
votes
0answers
24 views

Windows 10: Lock PC on Task Scheduler resumes with Password

Using Systernals Suite from Microsoft I have my PC auto-logon automatically, however I want it to lock it immediately (so it's safe but all the software is actually starting up in the background). I ...
0
votes
1answer
32 views

Restarting an application upon its closing

I'd like to turn some Windows (7, 8, 10) PCs into indie arcade setups for an event. I really want it to be fool proof. Plugging in controllers and launching a game is easy enough, but games have exit ...
0
votes
1answer
107 views

Set up Task Scheduler tasks under Local Account in Windows 10 - incorrect password

I have a PC running Windows 10. I used to use a local account to log on. The local account is a member of the local Administrators group. Recently I changed to use the Microsoft account authentication ...
0
votes
1answer
106 views

A task inside my windows task scheduler will cause my server to stop responding

I have the following AppPoolActivation.ps1 file, to call a URL :- [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} $request = ...
1
vote
1answer
116 views

Task Scheduler won't allow re-use of task names from older, auto-deleted tasks that were created with the /Z switch

While trying to get this to work I created several scheduled tasks with the /Z switch which, according to documentation is... A value that marks the task to be deleted after its final run. I was ...
0
votes
3answers
125 views

How can I retrieve the status of a scheduled task using schtasks?

When I run this: schtasks.exe /query /tn "GoogleUpdateTaskMachineUA" I get this: Folder: \ TaskName Next Run Time Status ...
0
votes
2answers
306 views

How to disable a windows schedule task in Windows 10 using the utility schtasks?

How can I disable a schedule task in Windows 10? They suggested me to use /disable but apparently and that option is already gone in Windows 10 and was available in the previous versions of Windows. ...
2
votes
2answers
232 views

Windows Task Scheduler - run a task once a day at log on

I am trying to set up a schedule task to run an exe exactly once a day. I have tried the following: Trigger daily 4:00AM, "run task as soon as possible after a scheduled start is missed" This ...
0
votes
0answers
22 views

Ensuring Cron Jobs are called from within the Server

Here is the information about my development environment: Windows Server 2012 R2 Standard 64-bit Operating System, x64-based processor Microsoft Visual Studio Professional 2013 .NET Framework 4.0 ...
1
vote
1answer
140 views

Is there a way to schedule windows 10 connection to internet

I need my computer be reconnected to internet after some hours from now for example, while I disconnect it manually, how should I set it to connect to the same wifi network after some hours ? I ...
1
vote
1answer
65 views

Bat file doesn't log when running from task scheduler?

I made a bat file which restarts 2 services, and I have it run in task scheduler. If I run the bat file normally, I can see it logging in current directory as the bat file. But if I run it through ...
0
votes
1answer
89 views

Create schedule task from xml file by batch file

I have a schedule task in my test machine. Test machine is win 7. I export the task in xml and I am trying to create a new similar schedule task as i will have to create same schedule task on more ...
0
votes
0answers
221 views

Access denied on deleting task I created from schtasks

I am using Windows 7 as a user without admin privileges (with no chance to change this situation). I have quite a long list of tasks, which are actively managed (I'm adding, deleting and rescheduling ...
0
votes
1answer
137 views

Windows Server 2012: how to automate the dump and zip of a MySQL database

I am using a Windows Server 2012. I need to perform a dump of my database every two hours and zip the SQL generated file. The zip file must have this syntax: nameOfFile_date_hour.zip. I don't need ...
1
vote
1answer
110 views

How to get Windows 10 to understand Scheduled Tasks?

I've got a short vbs script that I need to run daily. Here is the vbs script: Dim URL URL = "C:\Users\jp2code\Coding\DailyEmail.html" Dim objShell set objShell = CreateObject("Shell.Application") ...
1
vote
1answer
46 views

Run batch job periodically after a process has terminated

I used FreeFileSync to create a batch job to backup my Firefox profile and I'm not sure how to run it periodically (every hour or so) or after Firefox has been closed. FreeFileSync's website ...
0
votes
0answers
54 views

How do I print the dates in an autosys extended calendar?

I have an Extended Calendar that is used by several autosys jobs. What is the command to print out the dates that this calendar contains?
0
votes
1answer
353 views

Make PC wake up using task scheduler in Win 10 from sleep

In Win 10 Pro, I have used task scheduler to make my PC go to sleep (not hibernate) at night, which works fine. But I am trying to get my PC to wake itself up in the morning, but no luck here. I have ...
1
vote
1answer
76 views

Windows 10 does not wake on schedule

I recently upgraded a Win7 media server to Windows 10 pro. I have a scheduled task to wake the server at a specified time; however it no longer works in Windows 10. It worked perfectly fine in 7. ...
1
vote
1answer
120 views

Customize Windows Task Scheduler

I have a script that I want to execute using Task Scheduler at certain intervals that are different: I want it to run every hour in the day time (between 8 AM and 11 PM) I want it to run every 10 ...
0
votes
0answers
21 views

How to login a user from batch?

I'm looking for a way to login a user at a certain time of the day (for example 3 o'clock, when I'm most certainly not logged in), take some screenshot and then logout. As you can see from my ...