A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.
0
votes
1answer
28 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 ...
0
votes
1answer
25 views
Running scheduled task in current profile with another user
I have a doubt about Windows scheduler: I created a domain user (backupuser) appositely to launch a batch file that starts the backup. The problem is that the batch is launched in the "backupuser" ...
4
votes
3answers
129 views
Task Scheduler: Login to a session at startup and start a desktop app?
ISSUE:
I have a Windows 2008 R2 VM that runs a 3rd party ERP system. They have a utility that will run scheduled jobs to backup the Oracle database and their app data nightly with a 7 day rotation.
...
0
votes
0answers
33 views
Batch script terminates too soon
I need some help with Windows batch/CMD scripting. I wrote a script to record mic-in to a MP3 for 12 hours. It runs ok when running it manually. It will run with task scheduler too - just that, ...
1
vote
2answers
95 views
How can I create a daily task that repeats every 15 mins EXCEPT between the hours of 12AM - 2AM?
Is it possible to create a scheduled task that runs every 15 min except for a few hours of the day.
E.g. A task that runs every 15 minutes except between the hours of 2PM & 4PM.
The reason I ...
0
votes
0answers
22 views
Can't save credentials in group policy scheduled task
I've created a scheduled task inside a group policy, an update task under computer configuration. I need the task to run whether or not the user it's running under is logged in, so I select the ...
1
vote
1answer
32 views
Windows Server 2003: Schedule FORFILE loop in TASK SCHEDULER
I am trying to create a SCHEDULED TASK that will kick off a FORFILE loop, and terminate the process after an hour (or 12 hours). I expect there to be MILLIONS of files the the paths defined, and I ...
0
votes
0answers
13 views
Scheduled tasks not deleting file
I have a problem with w2008 R2 running a script in a scheduled task :
del d:\MyRep\*.* /F /S /Q
the scheduled task is launched with domain admin and the files are not deleted... when I launch the ...
0
votes
2answers
93 views
Windows Security: can user read local files with only 'Log on as a batch job'?
A Windows Scheduled Task runs as serviceAccount@domain.tld on a 2008R2 server. The server's local disk has some files that Joe Blow should not see. Joe Blow knows the serviceAccount password. As far ...
1
vote
1answer
70 views
Running SSH command within a scheduled task
I have simple powershell script which gets the offset of a Ubuntu server with the time of the NTP server.
The command I run is
$result = ssh -i C:\temp\privatekey domain\username@servername ...
0
votes
1answer
86 views
How to make a scheduled task run as a builti-in account
Windows Server 2003 R2 SP2
How do I configure a scheduled task to run under the credentials of one of the built-in accounts?
I tried SYSTEM, NT AUTRHORITY\SYSTEM, Local Service, NT AUTHORITY\Local ...
1
vote
1answer
21 views
Task Scheduler with Virtual Accounts, possible?
Currently I'm using LOCAL SERVICE as the user account for various regular tasks, and was wondering if it was possible to use a Virtual Account instead.
Task Scheduler seems to reject NT SERVICE\ ...
0
votes
1answer
191 views
GPO for Scheduled Task Server 2008 R2 (Computer reboot)
I am currently running into a bit of a problem. I am trying to create a GPO that reboots all computers in a specific OU at a specific time using Server 2008 R2 64 bit.
I have gone into GP ...
1
vote
0answers
53 views
WebDAV client on windows 2008R2 running slow from scheduled script
I have a rather unexpected situation here. I have a small application that connects to a WebDAV server (Sharepoint) using the standard WebDAV windows client (WebClient service, part of the "desktop ...
1
vote
2answers
48 views
Trigger event to fire when user connects to a terminal server?
We have a (very) fragile software suite running on a server in our datacenter that requires a user to be logged in, but freaks out and crashes if the user logs in twice (resource contentions, all ...
0
votes
1answer
44 views
Maintain Windows File Shares When Logged Out
I have a Windows 2003 Server that connects to several Windows File Shares on other machines. I copy files to these file shares using some Scheduled Tasks that call a batch script. My issue is when the ...
1
vote
1answer
144 views
Access Denied when creating a scheduled task with powershell and the com schedule.service object
I have a powershell script that creates a scheduled task using a call to RegisterTask via the Schedule.Service com object.
Essentially:
$ts = new-object -com Schedule.Service
$ts.Connect()
...
2
votes
1answer
108 views
Scheduling a Task for every minute in Windows 2012
I need to schedule a Task inside of my Windows 2012 to run every minute, how would one accomplish that? This is my Task:
C:\>C:\Users\Administrator\Downloads\wget\bin\wget.exe --spider --quiet ...
-1
votes
1answer
130 views
How do I use Windows Task Scheduler to run an executable on a remote server? [closed]
I am looking at consolidating all of our scheduled tasks that run on various servers (Win 2008 R2) within our domain on to one "Task Scheduling Server". I am a developer so I'm not even sure if this ...
0
votes
4answers
189 views
Can I schedule machine boot via Dell iDRAC?
I have a Dell PowerEdge R410 with iDRAC 6 configured and accessible.
I know we'll be losing power at some point this weekend and I have a time that I would like to power on the machine again.
From ...
0
votes
2answers
142 views
2008 R2 Task Scheduler won't run task, but says completed successfully w/o errors
OLD DESCRIPTION:
I have a .NET app I wrote myself that I'm trying to get set up to run as a scheduled task on Windows Server 2008 R2. When I run the app myself from the command line, it works just ...
0
votes
1answer
60 views
MSsql 2008 sql agent task output to network drive
I'm trying to get the SQL agent job (task) to run my query then put the output file to network drive. When I select the output file the only drives listed are local. I'm new to jobs and MSSQL but have ...
2
votes
1answer
330 views
Why do weekly tasks created via PowerShell using a different user fail with error 0x41306
We have some scripts that create scheduled jobs using PowerShell as part of our application. When testing them recently, I noticed that some of them always failed immediately, and no output is ever ...
0
votes
0answers
165 views
Error 70 Permission Denied in Scheduled Task But Not Interactively
I have a script that creates a text file on a network drive using VBScript, run as a scheduled task. It is failing now with a "permission denied" error (error 70) but only when run as a scheduled ...
2
votes
2answers
169 views
Powershell script not completing what it should do when scheduled with Windows Taskscheduler
I found a script that can delete files over X days old and changed it a bit so that i will scan different network folders to see if there are files that are older than X days. Now when i run the ...
1
vote
2answers
64 views
batch file is not being executed from scheduled task
I have batch file that need to run every day at 9 AM and create log.
batch file works fine manually (by clicking it or from command line).
However, When i set up the task by using task scheduler, it ...
1
vote
4answers
72 views
Checking for changes to cronjobs
Any way check and notify if some one made a change/addition to cronjobs for a particular user on a Linux server?
Is it possible to know the changes made too?
0
votes
1answer
181 views
Can I schedule a windows task to run in an interactive desktop session?
I'm trying to create a scheduled task that will run once daily on a dedicated machine. The task will run an exe. That exe does a bunch of things, including running automation that manipulates the ...
1
vote
2answers
133 views
How to schedule job to run on Linux/Unix only when system is idle?
How do I schedule a job to run only if the system is idle?
E.g. I want to run some cleanup task every week, but only if it does not interfere with other users.
I know I can schedule a task to run ...
1
vote
2answers
98 views
Stored passwords and scheduled tasks in Windows Server 2003
In general, if you are PC\Admin and you have a stored password for network share DOMAINSERVER\Share (done using the interface "Stored User Names and Passwords"), and you have a scheduled task that ...
1
vote
1answer
33 views
Win7 scheduled task minute settings?
I must process a bat file for every minute but win7 scheduled task not allow per minute. Lowest 5 minutes. Can I set scheduled task win7 for per minute?
1
vote
1answer
150 views
How to limit excessive CPU usage from guest OS in KVM
On Xen it is easy as we have CreditScheduler [1], so on a machine with each guest OS sharing only portion of CPU, e.g. 6 guests running on top of a dual core CPU, excessive CPU usage is prohibited.
...
3
votes
1answer
243 views
Scheduled Tasks and Environment Variables
I have a scheduled task, a batch file, that uses an environment variables which is set system-wide.
On server 1, the scheduled task runs under a domain account and the environment variable works. The ...
2
votes
2answers
258 views
Exchange PowerShell in a Scheduled Task runs forever
I have a couple of Exchange 2010 PowerShell scripts that I'd like to run as Scheduled Tasks.
If I launch PowerShell using "Run as different user" I can run the scripts and they execute correctly.
If ...
0
votes
3answers
148 views
Setting a scheduled task running a Powershell script
Does anyone know the correct way to assign a Powershell script as a scheduled task?
I have the below syntax (where X:/ is another drive mapped as a share).
1
vote
1answer
124 views
Ok to edit task's xml file in c:\windows\system32\Tasks?
I wrote a PowerShell script that check the executable in the < action > tag for each task in the Task directory and mark the < enabled >TRUEorFALSE< / enabled > tag as false/true depending on ...
2
votes
0answers
309 views
Scheduled task fails, but runs fine when triggered manually
We have a 2008 R2 server with a scheduled task that runs a .bat file which executes a call to a Java app. The task triggers just fine, but stops executing anything after it creates the log file. ...
1
vote
1answer
173 views
Xcopy and hosts file in windows scheduled tasks
I have some trouble with xcopy or maybe with windows/drivers/etc/hosts DNS file.
If I add my xcopy command in a windows scheduled task, xcopy can not resolve server's name stored in hosts file, ...
0
votes
2answers
361 views
Windows Task Scheduler fails at sending e-mail
The error is 2147746321.
I can see in the mailserver log that it tries, but the connection gets closed.
Wed 2012-10-10 15:55:25: Session 990590; child 1
Wed 2012-10-10 15:55:25: Accepting SMTP ...
1
vote
3answers
473 views
Why does powershell -command “Restart-Service Tomcat6” fail when run from a Scheduled Task?
I get the following error in the Scheduled Task history when I try to run a task:
Task Scheduler successfully completed task "\Restart Tomcat" ,
instance "{264b4620-5f3b-6c5f-a6cb-1625a7fa57de}" ,
...
-2
votes
1answer
35 views
Server just to run a few automated tasks and services [closed]
I'm looking for a hosting package for a server to just run a few automated tasks and services, with the option to remote desktop to it.
The thing is most hosting packages charge inclusive of ...
2
votes
2answers
288 views
My powershell script wont save a file when run using Task Scheduler, do I need to specify a specific argument?
I have a script that downloads a temporary Excel file, copies parts of it to a new file, and saves it to a specific location on the network. The problem I'm having is that the new file is never ...
3
votes
3answers
245 views
runas without asking for a password
On a Windows server which is in a domain, I have a script I run from scheduled tasks.
I want this script to be run under a mydomain\peter user account. It is simple to do it with scheduled tasks, ...
2
votes
1answer
155 views
Windows Server Task Scheduler: Running scheduled executable fail-safe?
I have an executable which I've scheduled to run once in every five minutes (using Window's built-in Task Scheduler). It's crucial that this executable is run because it updates few time critical ...
1
vote
1answer
146 views
Suggestions for Scheduled Tasks to call OSQL without hard-coding cleartext password
Can anyone think of any techniques where i can have a Windows scheduled task run OSQL, but not have to pass the clear-text password with cleartext password being in the clear? E.g.:
>osql -U iboyd ...
1
vote
2answers
650 views
Why is “start in” needed for Windows scheduled tasks?
We develop a web application that can be deployed on Windows or Linux. The Linux implementation uses cron, and the Windows one uses scheduled tasks to run a single PHP script that processes all ...
1
vote
1answer
465 views
Scheduled task running twice from time to time
A customer of mine is experiencing a very strange problem: a scheduled task is running twice from time to time, with only a few seconds between execution.
The task is scheduled using the windows ...
1
vote
1answer
34 views
Can I prevent a scheduled task to run before a certain date
As in, I don't want the scheduled task to run before the 15th of every month. Even if I (or someone else) accidentely presses 'run'.
I could also write something in the code, but I don't want to ...
4
votes
2answers
191 views
Is it possible to have a scheduled task click a button in Windows?
One of my clients has an application that can not be run from command line or via API but needs to be run on an scheduled basis. It would require that I launch the application if it's not already ...
0
votes
1answer
763 views
Task scheduler does not kill task
We have a scheduled task that sometimes hangs. It just stops responding. On Windows 2003, we had task scheduler configured to kill the task after 3 hours. It's a 32-bit process.
On Windows 2008 ...

