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.
966
questions
3
votes
2
answers
10k
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 ...
2
votes
1
answer
8k
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
1
answer
2k
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 ...
4
votes
2
answers
16k
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 ...
2
votes
1
answer
371
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. ...
2
votes
1
answer
3k
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 ...
3
votes
0
answers
809
views
Taking screenshots when I'm not logged in
I'm looking to take several screenshots from an application at a certain time of the day (let's say 3 o'clock, when I'm certainly not logged in) .
Currently I'm using NirCmd to take the screenshots, ...
2
votes
1
answer
116
views
Warning when starting an app [windows automation]
I have two . exe application that conflict eachother ( App_A and App_B).
I want to warn the user when he launch App_B if App_A is already running.
ps: the warning message must really open before ...
0
votes
1
answer
816
views
How to ensure my Data Collector Set runs at certain hours?
I have configured a Data Collector Set in Performance Monitor. There, I gave it a schedule so it start every day at 8:00 AM and record for 16 hours. That works mostly ok: the Data Collector Set does ...
1
vote
1
answer
652
views
Reverse scheduled tasks script
I have run the following .cmd file and I do not like it and want to completely
reverse the changes. How would I do this without losing the original information about triggers/conditions etc. ?
@echo ...
4
votes
1
answer
15k
views
Is there a way to quickly delete/disable ALL scheduled Tasks?
Windows 7 (and newer versions) come with a large amount of pre-configured scheduled Tasks. Additionally various software sometimes adds more scheduled Tasks in the system.
Is there a way to disable ...
1
vote
0
answers
142
views
windows 7 schedule wifi or script wifi enabled/disabled
I would like to be able to enable and disable my wireless connection automatically either through some sort of scheduled task or some simple script that I could cobble together. I'm on windows 7 and I'...
0
votes
1
answer
284
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 ...
1
vote
1
answer
2k
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
1
answer
149
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 ...
3
votes
2
answers
132
views
Wipe hard-drive split over several days?
My problem is that wiping the drive takes 1.5 days, and I absolutely need to have my computer off during the night. My fan is too noisy, my room is very small, and I sleep next to the computer.
Is it ...
0
votes
1
answer
3k
views
schtasks - Why doesn't this work?
I type this into cmd or in a batch script:
schtasks /change /RP user_password /TN "existing_task" /ST H:M
If /ST H:M has two digits in the hour it says ERROR: The parameter is incorrect.
If /ST H:M ...
3
votes
2
answers
9k
views
Mapped drive is not accessible, to copy files, using Task Scheduler
On my Windows Server 2008 R2 machine, a batch file is scheduled to run using Task Scheduler. For some reason, only a portion of the commands in the batch file are executed; Some MS DOS commands are ...
0
votes
0
answers
23
views
Find out what is starting firefox on windows starup [duplicate]
Something set up firefox on windows machine to start and go to certain url as user logins into system.
In process explorer I see, that Firefox is started as "firefox.exe -osint -url "somenastything" ...
2
votes
1
answer
9k
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 ...
3
votes
2
answers
8k
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
1
answer
67
views
Online questionnaire and biling [closed]
What I am aiming to do
I am organizing a big event with many invited friends. This big event is subdivided into smaller sub-events and I need to send out a questionnaire to know who wants to come to ...
2
votes
0
answers
620
views
Task Scheduler ignores next run time
So I have a very weird problem.
In Task Scheduler, I've setup my application to run every 15th minute. I've made sure to have all the correct settings and it runs under my credentials (entered a ...
4
votes
1
answer
9k
views
Run .vbs from Task Scheduler. VBS should execute an .exe via shell
I would not be posting if I had tried the plethora of possible solutions that have been posted about this previously.
I have developed a piece of software, which using a .vbs file (exporter.vbs) ...
0
votes
0
answers
68
views
Create Automate Task on Windows 10 with download and search in PDF
I want to create an Automate Task to hourly download a PDF from a specific URL and then search for certain text like "6256896" and then if there was the text inside the PDF,notifies me for example ...
1
vote
1
answer
3k
views
Run a scheduled task that can update the desktop background wallpaper without causing a foreground flash?
I like how certain Windows themes rotate through various images, but I also like to use BgInfo to write out various machine info to the desktop wallpaper image.
I created a customized BGI file and ...
1
vote
2
answers
2k
views
Mapped Drive inaccessible from Windows Scheduled task
I am working with python 2.7.9 (64 bit) and windows server 2012 R2
I am trying to set up a windows scheduled task to run a lengthy python script every day. I've managed to by calling the python from ...
0
votes
2
answers
974
views
Cron expression hour 1/12
I'm looking at a system where someone added a cronjob which schedule is like this:
0 1/12 * * * doSomething
More commonly, if the hours part in the schedule were */12 then it would execute every 12 ...
1
vote
1
answer
3k
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
...
2
votes
1
answer
7k
views
How to prevent windows updating the UpdateOrchestrator\Reboot task?
What process is creating the Microsoft\Windows\UpdateOrchestrator\Reboot task?
A solution to prevent laptop to start suggested here was to create an scheduled task that uncheck "wake to run" task ...
1
vote
0
answers
2k
views
Schedule a batch to ping at system startup and check if it's running from task manager
using system scheduler on win 2012R2 I would run the following bat file:
echo %DATE%_%TIME% >> C:\test\testschedule.txt
timeout /T 300 /NOBREAK
start ping 8.8.8.8 -t
start ping 208.67.222....
1
vote
2
answers
1k
views
Get-CimInstance not working when run from Scheduled Task
I have a Powershell script that exports a list of all the services on my local computer using the following command:
Get-CimInstance win32_service | Export-Csv $PSScriptRoot\Local\services.csv
It ...
7
votes
3
answers
17k
views
How to stop Windows 10 from autostarting apps? [duplicate]
Windows 10 has been autostarting calculator, weather, movies & tv, store, xbox, and photos usually after login. It isn't in the task manager autostart list or in the task scheduler. Any help is ...
0
votes
1
answer
1k
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 could not stop doing stuff. It must constantly run/execute something.
Question 1) I wonder then, how come there is a ...
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 ...
0
votes
2
answers
812
views
How can a process run from a command line without specifying a drive letter before the path?
The Synaptics Touchpad Helper runs at user logon as a scheduled task. The command line configured to run the executable is...
"\Program Files\Synaptics\SynTP\SynTPEnh.exe"
As you may assume, it is ...
2
votes
2
answers
11k
views
List of arguments for scheduled task
When you edit the action of a Scheduled Task, there's the option of "Add arguments".
The software I use right now has the argument
-cp .\Acquisition.Jar et.EPC
I've been googling for a while and ...
18
votes
2
answers
21k
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 ...
0
votes
0
answers
298
views
Problems with Windows Task Scheduler (Constantly restarting task)
I'm trying to configure OpenVPN to automatically start and connect on login. For the most part, my setup works however it starts, goes, and then restarts. This continues forever. Also, the status of ...
1
vote
2
answers
2k
views
SLURM allows jobs using more CPUs than requested to start
The problem I am facing with SLURM can be summarized as follows. Consider a bash script test.sh that requests 8 CPUs but actually starts a job using 10 CPUs:
#!/bin/sh
#SBATCH --ntasks=8
stress -c 10
...
0
votes
1
answer
3k
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
0
answers
1k
views
schtasks set "If the tasks is not scheduled to run again, delete it after:"
I've googled and seached super user for this but haven't found anything. I wan to set the option "If the tasks is not scheduled to run again, delete it after:" using schtasks, or if thats not possible ...
0
votes
1
answer
319
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
1
answer
6k
views
Using a curl scheduled task in windows
I am using the following command in a scheduled task in windows to update my IP to the free Dynamic DNS service called EntryDNS:
curl.exe -k -X PUT -d "" "Their url API string here"
The problem I am ...
2
votes
1
answer
316
views
Win7 scheduled task ignoring net use saved credentials
On Win7 64 Pro, I have a batch file that runs net use to map a network share from my server over OpenVPN.
The batch file doesn't have the username or password stored in it, it uses the user ...
1
vote
1
answer
844
views
scheduling with cronjob to run the php file for only one time
How do I run the php file only once using the cron jobs. i.e., to schedule task to work on 20/06/2015 10:30:00
I tried something like this :
30 10 20 6 ? 2015 /usr/bin/php /path/to/my/file/...
0
votes
1
answer
564
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 ...
2
votes
1
answer
182
views
Task Scheduler missing daily tasks for just 2 days. Why?
I have configured Windows 7 task scheduler to run a daily task at 12:01 AM. It has to start our reporting program that maintains the internal log of its own. It's been working really good since March ...
2
votes
1
answer
2k
views
Delete scheduled taskname containing space
I want to delete scheduled tasks that start with "Adobe Acrobat" eg "Adobe Acrobat 123","Adobe Acrobat 456","Adobe Acrobat 789"
schtasks /Delete /TN Adobe* /F
This command fails to find any tasks ...
1
vote
0
answers
389
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 ...