A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.

learn more… | top users | synonyms (1)

0
votes
1answer
2k 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
281 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
116 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
49 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
412 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
651 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
926 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
6answers
1k 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
2k 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
241 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 ...
5
votes
2answers
2k 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 ...
2
votes
1answer
3k 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
90 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
135 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?
2
votes
1answer
4k 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 ...
2
votes
2answers
404 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
214 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
37 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
1k 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
1k 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 ...
3
votes
2answers
675 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
331 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
3answers
1k 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
2answers
2k 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
371 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
2k 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
2k 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
2answers
942 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
414 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
270 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
282 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 ...
0
votes
2answers
3k 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 ...
2
votes
1answer
2k 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
43 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
562 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 ...
2
votes
2answers
4k 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 ...
1
vote
1answer
301 views

Do Scheduled Tasks run automatically if they are missed?

I'm running Windows Server 2003, and a scheduled task that was set to run was missed because an ms-access database window was left open over night. When we closed the window, the task scheduler ...
2
votes
1answer
458 views

How does the “Last Result” column of Scheduled Tasks in Windows Server 2003 get set from a process or script?

The Last Result column of the Scheduled Tasks Window on Windows Server 2003, displays the result of the execution of the .exe, .vbs, .ps1, .bat, .cmd, etc... that has been run at the scheduled time. ...
2
votes
1answer
168 views

Win2K8 R2 Scheduled Task Fault Tolerance

I have two identical servers running Windows 2008 R2. I am using DFS Replication to keep a few shares in sync between the two servers. Each server is a Domain Controller and each server can function ...
2
votes
3answers
2k views

How do you restart the Task Scheduler service without rebooting the server?

I am running into an issue with the task scheduler service and I have found that restarting the Task Scheduler service should do the trick in fixing my problem. Unfortunately, I do not have the option ...
-1
votes
2answers
145 views

what is the criteria for a scheduled task to run?

I have a scheduled task that needs to be run 3 times per day. I have the option between running the task on either a 2008 windows server machine or a windows 7 64 bit regular machine. Both machines ...
1
vote
0answers
143 views

scheduledtask to update svn directory creates multiple processes

We have a fairly standard web setup, with a windows 2008 server hosting our website and the directories being under control of SVN, with tortoise SVN as the preferred provider. One of the SVN folders ...
0
votes
1answer
525 views

Powershell Script Scheduled Task Stopped Running (Could not Start)

I'm running a scheduled task (for Powershell Script) on Windows 2003 Server. I believe the script works fine. The task is scheduled to run every 10 minutes from 7:00am to 11:50pm everyday. However, it ...
2
votes
2answers
117 views

Easy way to reload multiple applications under a single IIS Website after AppPool Recycle?

I'm not sure where to begin or even if my thinking is in the right direction. Hopefully someone here can tell me what to do or at least give me a direction to start travelling. I work on a Intranet ...
3
votes
2answers
3k views

How do I schedule a task to run every hour indefinitely on Server 2003

I am moving a scheduled task from a Windows 7 machine to a Windows Server 2003 machine. On Windows 7 I can configure my task to run every hour indefinitely by setting up a custom trigger like so: ...
1
vote
2answers
80 views

Cron job to run mutiple distinct times

I want a cronjob to run at 10:20 and 12:45. Is it possible to set it in one line using cron ? I know I can add to two similar lines one for 10:20 and another for 12:45.
2
votes
1answer
10k views

Rebooting Server 2008 R2 with Task Scheduler?

I've been trying to get Server 2008 R2 to reboot after everyone is gone from work, to get its updates installed, but what I've been trying apparently isn't working. I have a "reboot.bat" in C:/ that ...
2
votes
1answer
180 views

Using cron and a script, how can I get something to be triggered, for example, at 10am, 11 days before the last Tuesday of every month?

I'd like to schedule a task to be run a number of seconds, minutes, hours, days or weeks before a specified day of a week in a particular month. Examples would be: at 8am, 7 days before the last ...
2
votes
4answers
298 views

crontab schedules and cron jobs

I've put two files in the /etc/cron.d/ directory: The first makes a new post everyday at 12:00AM: 0 0 * * * php /var/www/site1/helper post:make The second updates the latest post every 10 minutes ...
3
votes
1answer
307 views

Scheduled task based on Microsoft patch release cycle

I have a simple powershell script which unapproves all patches based on computer group name in WSUS which works great. All of our servers patch on a specific Day/Week/Time starting on Week0-Wednesday ...