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
1 answer
Change passwords for schedule Tasks Daily
I need to schedule a health check script on a particular domain controller , have the service account, everything works. Unfortunately due to firewalls, this script can only be run on a DC, which isn't ideal; but to compensate for that, i would like…

Darktux
- 827
- 5
- 21
- 36
0
votes
0 answers
Windows Task Scheduler condition not working
I have a service i want to start when windows user logs in.
I set a condition to start only if network connection is available, but i'm on AWS EC2 so the connection name keeps changing.
I also tried to use all connection but then my service…

Danny Valariola
- 263
- 1
- 3
- 12
0
votes
1 answer
Windows Server 2008 R2 Task Scheduler Powershell issue
I am trying to schedule a task which runs a powershell script. This script copy several files from one server to the one which the script is running.
If i run the script with an elevated powershell prompt it is working like a charme. When I create a…
0
votes
0 answers
environment variable 'HOME' value on windows
I have a ruby script running in the context of a scheduled task (windows server 2012r2), running as user "Administrator".
Here is the sequence of events which recreates this issue:
Create an AWS AMI, which includes ruby script (which just logs…

JonoB
- 63
- 7
0
votes
2 answers
Schedule tasks at specific intervals but not fixed times
I have a command that I want to run regularly, i.e. at fixed intervals (say once per day).
As far as I know, the usual approach would be to use cron. That would require me to schedule my task at specific times (say every day at midnight). In my…

Florian Brucker
- 224
- 1
- 2
- 12
0
votes
2 answers
Agent automatically disabled
I've an agent scheduled every day.
Over the weekend the agent is disabled by something.
Database is refreshed, but agent has the "no-refresh" checked.
What to investigate?

Andrea Baglioni
- 1
- 2
0
votes
1 answer
How to run script with diffrent frequency within a specified time frame?
I have python script which I need to run with diffrent frequency within a specified time frame. I tried to do this through crontab but I do not know how to bite it :/
My time intervals and frequencies look like this (i have it more than 200):
from…

Marcin
- 1
0
votes
0 answers
Run vbscript on server as scheduled task
I've written two scripts in vbs, one iterates through a bunch (+10000) of folders on our server and creates a shortcut in a specific folder to any folder that has a specific name. ('ax' followed by the number and name of a project). This way we can…

Teebs
- 123
- 5
0
votes
0 answers
Why my task has 0x5 Access denied exit code with Task Scheduler if script was finished?
I have following batch script:
copy \\remotehost.ip\c$\dumps\TEST_%date%.dmp C:\dumps\TEST_%date%.dmp
sqlplus sys/password as SYSDBA @C:\dumps\recreate_test.sql > C:\dumps\recreate_test.log
timeout /t 10
impdp system/password@sid…

Dracontis
- 125
- 1
- 2
- 7
0
votes
1 answer
How to set locale for schedule task in Synology BusyBox?
I am trying to set up a schedule task to download some files from YouTube. The download script works well when I am ssh'ing as a user. However, the download filenames are wrong when started by the system task. It seems to be a locale issue, as the…

ohho
- 1,005
- 8
- 19
- 34
0
votes
1 answer
Wbadmin [startbackup] keeps prompting for password
I am running Wbadmin for backup purposes in a batch file, however the batch execution halts, prompting for a password although the password is provided.
First attempt - include password in command:
cmd /c "C:\Windows\system32\wbadmin.exe" start…

Riccardo
- 253
- 1
- 3
- 13
0
votes
1 answer
Windows Scheduler: run on login
I would like to use Windows Schedule to schedule a task to run on login by any user. This is on Server 2003-R2.
It would run a Powershell that brings up an alert that the OS is end of life.
How can this be done? I remember seeing a way to do this as…

Zeno
- 211
- 1
- 3
- 17
0
votes
1 answer
Failed Tasks on Windows 2008 R2 and Event Viewer
I'm trying to run a script on Windows 2008 R2 via a Task item in the Task Scheduler. It is not running. I can't figure out why. I'm looking in the event viewer and not seeing anything. Shouldn't there be some kind of error code or something? Where…

Tyndall
- 591
- 1
- 7
- 18
0
votes
0 answers
Scheduled Task is not able to write to file on server
We recently moved from an SBS2003 domain to one with Windows Server 2012R2. This machine is our DC and acts as a fileserver as well. Our client machines are all running Windows 7.
I have had a scheduled task on my machine for a number of years,…

Paul C.
- 1
- 3
0
votes
1 answer
Unable to schedule task to copy across network
I remote access into a server running windows 2008 with my login from active directory. I wrote a BAT file to copy from a different sharefolder to backup files to this server. Running the BAT file manually copies the files perfectly. But when I…

user229342
- 1
- 1