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)

4
votes
1answer
208 views

emacs - repeat task max number of times

I need to schedule a task such that it repeats everyday, for a max number of days. If I don't do the task one day, the tasks should accrue, and not simply disappear. For instance, I need to finish a ...
2
votes
1answer
1k 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, ...
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
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, ...
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
98 views

Time Schedule for Internet access at router level based on MAC Address

Complete newbie here. I have a Huawei HG658c (Standard Vodafone Ireland) router and I am looking to set a Time Schedule for internet access to certain devices (Kids) on my network, also I currently ...
1
vote
1answer
680 views

Can't wake up Windows 10 machine with task scheduler

I have successfully set up sleep and wake up tasks for Windows 7 that have functioned correctly for more than a month. After a upgrade to Windows 10 the wake up task has ceased working. I have tried ...
1
vote
1answer
257 views

Disallow task scheduler to start computer

My computer started itself at exactly 9:41pm the last 3 days. And I had the same thing happening at 3:00am in the past. It was always some stupid scheduled task. The fact that a scheduled task can ...
1
vote
1answer
493 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
591 views

WINSCP: task scheduler not working but is working when executed from winscp console?

I have been trying to run a task scheduler named "Backup" that downloads the specified file from the FTP server to my local directory. When I executed the command manually from the winscp console it ...
1
vote
1answer
2k views

How can I run a Task Scheduler job without being on administrator account?

I have read that the Windows account logged onto the computer that is running tasks from the Windows Task Scheduler needs to have administrator rights. I used the administrator account to create the ...
1
vote
1answer
1k views

Scheduled Task and environment variables WITHOUT CMD /C

I need to run a task within Windows 2003 Task Scheduler however the command needs to access environment variables: vlc.exe http://62.196.56.141:8080 ...
1
vote
1answer
1k views

“/fullscreen” argument does not work when launching Windows Media Player as part of a scheduled task with wake from sleep

I recently asked a question about using Windows 7 Task Scheduler to wake a computer from Sleep mode and play a video, Windows Task Scheduler to wake from sleep and play a video, and I got it to work, ...
1
vote
1answer
512 views

Windows run job by id right 'now'

Can one run a scheduled command by id 'right now' ? I'm not sure if it is even possible on windows, Atleast I haven't found anything yet
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 ...
1
vote
1answer
112 views

Running Network-Reliant Processes on Startup

I'm in charge of deploying and modifying a bit of in-house software that is meant to run on end-user workstations, which run either Windows 7 or XP SP3. The goal is to maximize the amount of time the ...
1
vote
1answer
562 views

How to trigger the windows task scheduler event when my computer's CPU is overrun over 30 minutes?

my computer's OS is windows 7, I would like to do this: when my computer's CPU is overrun over 30 minutes, it will trigger task scheduler's event which is send a email to my email account. I don't ...
1
vote
1answer
425 views

No logfile when combining Robocopy with Task Scheduler

I am trying to create a .bat file with Robocopy and schedule it using Task Scheduler in Windows 7. The issue that I am having is with the creation of the log file. When I click on the .bat file, a log ...
1
vote
1answer
457 views

Create Shedule Task for execute Powershell script immediately using Powershell

I need create schedule task programmatically using Powershell (PS remoting). My task executes a powershell script (and other cases a script cmd) immediately. $powershellcmd = (get-command ...
1
vote
1answer
79 views

Can a Windows scheduled task update itself and how would I do it?

Can a Windows scheduled task update itself and how would I do it? I'm using Windows Server 2008. I've seen some Powershell scripts that create tasks from xml; would this be the right approach?
1
vote
1answer
173 views

Scheduled logoff scripts

I wondered if it was possible to launch a logoff script only, for example, every friday. Can this task be scheduled in Active Directory or must I programm a scripts that adds and remove it every ...
1
vote
1answer
506 views

Windows Server Scheduled Tasks not running even though it says it is

If I run the batch file manually it works, but when the scheduled tasks runs it (which runs every ten minutes all day long), it never runs but it says it does, there is also no errors Here is the ...
1
vote
1answer
1k views

Windows XP scheduled task not running at appointed time and triggering on login

I have a scheduled defrag task on my Windows XP machine to wake up the computer and run at 3:00am every day. Then I have two other scheduled tasks, one to reboot the machine after the Defrag at ...
1
vote
1answer
2k views

Windows task scheduler not running batch file on network drive

I have a batch file that I'd like to run with the Task Scheduler. Running the batch file manually works fine. If the batch file resides on the C:\ drive, task scheduler runs it fine, but if the ...
1
vote
1answer
1k views

Windows Server 2008 - Scheduled Task Multiple Users

I am setting up a scheduled task on a Windows 2008 server to run a utility. I am able to do this without a problem with my user account, but no one else can access it when they login. I need to create ...
1
vote
1answer
1k views

Using schtasks in interactive mode

How can I run schtasks.exe in interactive mode? Like "at.... /interactive"? I run it on Windows XP so there isn't the /IT option.
1
vote
1answer
793 views

Windows 7: Using schtasks to run on a WinServer2003

I need to run several scheduled tasks remotely on a WinServer2003 machine. When my OS was WinXP-32 it worked quite fine with a command like "schtasks /run /s \\xxx.xxx.xxx.xxx /tn ScheduledTaskName". ...
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
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 ...
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
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
352 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 ...
0
votes
1answer
175 views

windows schedule command to run regularly

I apologize if this has been covered elsewhere or even in the MS docs, but I haven't found my answer yet. I have a program on my PATH, lets call it myprog.exe. All I want to do is configure my ...
0
votes
1answer
22 views

Mercurial pull across network drive in powershell script from scheduled task

So I previously had this question: Mapped Drive inaccessible from Windows Scheduled task in which I discovered how to get access to a drive a python script I was running needed to put files in. I ...
0
votes
1answer
168 views

Schedule Shutdown when visual studio completes building a project

I used task scheduler for shutdown after a fix time but I want to know how to create a task in windown 7 so that it will shut down system when visual studio will complete building a project.
0
votes
1answer
248 views

CMD option to exit OneDrive

I am running OneDrive sync by creating scheduled tasks in Windows Task Scheduler. I have two tasks, one to start OneDrive's desktop app and the other kills it. I am currently using taskkill to get ...
0
votes
1answer
605 views

How can I do an Automatic Shut Down after a Windows Defender Virus Scan? Would the Task Scheduler be involved?

I was wondering how I could possibly have my computer automatically shut itself down when Windows Defender is done doing a virus scan. I usually do it at night because I have a Slow CPU and a lot of ...
0
votes
1answer
1k views

Windows task scheduler not triggering a task on Windows 10

I have a task that is supposed to run a script I made, every 10 minutes, but it just doesn't seem to trigger it. In the task scheduler it says that next run time is in 10 minutes, but when the time ...
0
votes
1answer
351 views

How to use Task Scheduler to open an elevated Powershell window and run SFC and DISM in Windows 10

I have a scheduled Task where an Admin Command Prompt opens up and runs SFC and DISM. Here are the actions I entered in the "Action" tab of Task Scheduler: Program/script: %windir%\system32\cmd.exe ...
0
votes
1answer
230 views

What is CPU utilization and how is it calculated, how does OS scheduling work?

I studied x86_64 assembly language, somewhere in my studies I learned that the CPU cannot stop doing stuff, it must constantly run/execute something. Question 1) I am wondering then, how come there ...
0
votes
1answer
307 views

How to run a program normally with admin privilleges not as a background process using Task Scheduler?

I have looked through other questions in superuser and online and they all seem to suggest using Task Scheduler for what I want to do. Simply, I want to run my program at STARTUP or Boot with admin ...
0
votes
1answer
66 views

oracle AQ for scheduled jobs

We have a process that currently uses the Oracle DBMS_SCHEDULER to execute. The process runs every time the backend receives data from an external device. The Oracle scheduler is set up such that a ...
0
votes
1answer
85 views

Assign number values to certain letters in Excel or OpenOffice

I'd like like to know how to assign to some letters a number value for a monthly Hospital schedule. For example: N for night = 12h M for morning = 6h P for afternoon = 6h CS for day off = 6h R for ...
0
votes
1answer
119 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
41 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
1answer
54 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
1answer
2k 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
1answer
24 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
0answers
740 views

Problem with running batch file as scheduled task

I am trying to setup my rsync script to run automatically. It uses a key file for authetnication so there is no issue of missin ginput or something. I have user a. In user a's profile live a batch ...