All Questions
Tagged with windows-task-scheduler batch
18
questions
23
votes
3
answers
44k
views
Should a scheduled task remain in the "Running" state?
I'm new to using the task scheduler and I'm using it to run a batch file provided online when the computer boots. I r-clicked it and told it to run. It did and all is fine, but the Status of the task ...
5
votes
2
answers
14k
views
Windows Task Scheduler - When is a task considered "missed" or "failed"?
It is hard for me to boil this down, so the title is ultimately the question I suppose I need answered. Still, here is the background of my question:
I am currently trying to create a Windows task ...
2
votes
4
answers
66k
views
Task Scheduler- Batch "Run whether user is logged on or not" not working
I've created a batch file (EnableDisable.bat) that will disable a Windows Task Scheduler job (SampleJob) on a local system, if a job with same name (SampleJob) is already enabled and running on ...
2
votes
2
answers
464
views
Status of the process while Windows scheduler working
I have a .bat file which should kick off every 30mins. I am using Windows scheduler for this. I have some questions on the same:
Does the scheduled task starts at a scheduled time even after a system ...
1
vote
1
answer
3k
views
Every 5 min cron job between specific time (Windows Server 2008 and batch file)
Previous colleague set up cron job every 5 min for 24 hrs.
Now I need to modify this only running between 7am to 7pm.
I had never learned cron job so I googled and tried but it didn't work.
Task ...
1
vote
1
answer
86
views
windows-7 nightly scheduled .bat with a DOS pause in it executes but never pauses
The following is my nightly_backup.bat file, scheduled to run every night at 11pm.
But though it does the backups ok, I never find it paused in the morning, like I expect it.
echo off
ROBOCOPY C:\...
1
vote
1
answer
5k
views
schtask Activate task when specific user login
I want to create a batch file that creates a scheduled task to run a .cmd file when a specific user logons. So far I've come up with this:
@echo off
schtasks /CREATE /RU %username% /TN "TaskName" /TR ...
0
votes
1
answer
1k
views
Batch Command for Windows 10 Updates for Scheduling
I'm looking to run windows update (check and download updates) on Windows 10 machine on a certain day and time; let's say Saturday at 10pm.
Is there a batch command that does this? I can then use ...
0
votes
1
answer
406
views
Batch file returns "divide by zero error" only when run using Task Scheduler
I had an issue with a batch file that returned "Divide by zero error" if, and only if, it was run using Task Scheduler. If run manually, it behaved as expected.
I had managed to narrow down the ...
0
votes
1
answer
79
views
making a schedueled task run mnimized
I have a batch file that I run once an hour via Windows Scheduler. Unfortunately, it can take several tens of minutes for this batch file to finish running.
Is there a way to make the batch file ...
0
votes
1
answer
351
views
Connect automatically to wifi as soon as available and if it gets disconnected connect again
My windows 10 disconnects automatically from wifi sometime. My pc is not having monitor i am controlling it over remote desktop team viewer.
Also sometimes running cleanup utilities disable the auto ...
0
votes
1
answer
131
views
Posiblities to login using Windows Task schedule
Im running automatization RPA daily with Windows Task Sheduler (WTS). Its okay but sometimes client lock screen and it wont work. I cant use WTS option to run if logged out because it will run in ...
0
votes
0
answers
223
views
Will checking the last Modified Date of a WIN7 TaskScheduler file (StartRecording), by means of a batch file, automatically update it?
I'm aiming for a quick way to monitor the last Modified Date of a WIN7 TaskScheduler file for Windows Media Center - probably quicker by a batch file than by clicking down 7 levels in Win Explorer.
...
0
votes
1
answer
3k
views
Task Scheduler return code 2147942401
I use this scheduled task for years and it always worked fine. Something weird happened a few weeks ago.
This task executes .bat file which launch python script.
It runs as administrator.
A few weeks ...
0
votes
0
answers
86
views
Creating a BAT to lopp directories and 7zip them
I a have a bunch of folders from my projects under C:\Projects, and they are a lot.
While I can throw a task scheduler to robocopy the folder to B:\Backups\Projects\, having to 7zip (or just zip) ...