A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.
Questions tagged [scheduled-task]
662 questions
0
votes
2 answers
how to undo a GPO (Administrative Templates and Scheduled Tasks)
Windows Server 2012 R2 and Windows 10 Pro clients.
Sooooo... I was experimenting with OUs early in my AD and I accidentally applied a GPO to my entire domain which shouldn't have been.
I now need to create a GPO to undo what I did.
Some of the…

Daniel
- 1,614
- 9
- 29
- 47
0
votes
3 answers
schtasks.exe adding repeat every 10 min when not desired
I am trying to create a scheduled task from the command line. I need the task to run every day at 7:05pm and run for a maximum duration of 1 hour. Just once until the next day.
Here is my command:
schtasks.exe /create /ru DeployUser /rp '********'…

Rob S.
- 101
- 1
- 3
0
votes
1 answer
Powershell task from Scheduled Tasks keeps running forever
I've created an scheduled task to call a webpage using PowerShell, but I don't know why it is not going to be ended after execution, and the status remains "Running".
The action is "Start a program", with this parameter:
powershell -ExecutionPolicy…

Ahmad
- 103
- 7
0
votes
1 answer
Trouble running this simple cronjob on the server every 24 hours. What is wrong?
Trying to run an 'R' script at 00:30 every day. The script is located in /home/username/Desktop/folder/runnow.r and which Rscript reveals that the absolute path to binary Rscript is /usr/bin/Rscript. The crontab entry that I made was using the…

learnerX
- 121
- 4
0
votes
1 answer
Force Administrator use in Windows Server
I have an application on Windows Server 2012 R2 that runs around the clock that shares information with a separate client application. The server app only saves all of its data to files when it is closed, so I've set up a scheduled task that…

Nicko
- 1
0
votes
1 answer
at command: Exec failed for mail command: No such file or directory
I got to run a task today at midnight on a debian system.
As I never did anything with atd I wanted to try first, if it works as expected.
I got a test.sh in folder /usr/local/dump/
which contains the following:
#!/bin/sh
echo "xyz" > out.file
I…

Igl3
- 103
- 1
- 5
0
votes
0 answers
Create windows task using group policy with limited privilages that anyone can run
Using group policy I created a windows task that any user can run manually but that runs under a specific domain user (e.g. DOMAIN\task_user) that has been assigned very limited access privileges. This policy/task worked fine with Windows 7 PCs;…

wrieedx
- 750
- 3
- 11
- 23
0
votes
0 answers
How can I setup a standard user to run a scheduled task on Windows Server 2012?
How can I setup a standard user to run a scheduled task on Windows Server 2012?
I tried to simply add a user, but the batch fails.
I tried to add "Log on as batch job right" via gpo, but it fails again.
What do I have to grant?
Maybe it fails…

Tobia
- 1,272
- 9
- 41
- 81
0
votes
1 answer
Windows Scheduled Task HostName Placeholder
Hi I need to run a service on start up that cannot be run using the system user. (I am using Windows Scheduled Task Manager for this)
Under user is there a way to have a placeholder for the hostname vs a hard written hostname because when…

ControlAltDelete
- 143
- 3
0
votes
0 answers
Disable Disk Fragmentation Analysis - Windows Server 2008 R2 Standard
I have been asked to look into disabling the fragmentation analysis that Windows performs automatically for one of our servers. I have verified that the Disk Defrag tool shows automatic defragmentation is disabled, that the Windows…

mblasco
- 141
- 1
- 2
- 7
0
votes
1 answer
Windows Server 2012 R2 not printing from Task Scheduler
I have a script, written in Python, that generates a PDF document and prints it to network printer. When I execute that script through the cmd line or launch executable .cmd or .bat file, it works nicely and prints document.
However, when I put…

orangutangas
- 101
0
votes
1 answer
Windows Task Scheduler don't show execution errors
I'm trying to make a powerscript that will run from time to time through the windows task scheduler.
My problem is that the task scheduler do not display the task as failed, even though my script do fail.
This is the event that i get:
Level Date…

Vegar
- 101
- 2
0
votes
4 answers
Run scheduled task with other domain user
I have a .bat that copies files from source to destination. The source is the local joined server, the destination is a non-joined computer on the network. I need to run this .bat with task scheduler. What user can have privileges on the destination…

maurice
- 61
- 2
- 6
0
votes
1 answer
What's a good way to schedule scripts that depend on each other?
So, I have a few scripts that need to be executed in order, and they need to wait for the previous script to finish since they need the data it gathers.
I thought about putting it all in a single script but I want to run it on a small VPS and it'd…

erik
- 11
- 2
0
votes
1 answer
Task Scheduler claims it ran but it did not
I had Task Scheduler start a task at 11:55 PM daily -- same setup on 5 servers.
Last night I changed the same job to be run at 2 AM and 7 AM instead.
It did not launch either. I know because it starts a .bat file that writes to a log with date…

Muposat
- 121
- 9