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)

13
votes
4answers
907 views

How to schedule server jobs more intelligently than with cron?

I run a job every minute to reindex my site's content. Today, the search engine died, and when I logged in there were hundreds of orphan processes that had been started by cron. Is there another ...
107
votes
11answers
199k views

Run a .bat file in a scheduled task without a window

I have a scheduled task that starts a batch script that runs robocopy every hour. Every time it runs a window pops up on the desktop with robocopy's output, which I don't really want to see. I ...
8
votes
5answers
25k views

Is it possible for a Scheduled Task to run as NETWORK SERVICE?

It is quite simple to set up a task to run as a SYSTEM, but when setting it to NETWORK SERVICE it show "Access is denied" error message. Is there any way to get this working? (The problem is that I ...
7
votes
2answers
8k views

Scheduled Tasks w/ GUI issue

Are there issues running Scheduled Tasks in Windows 2003 when the task has a GUI? I have one that worked fine in Windows 2000 but won't run on Windows 2003. Details: I have a .bat job that ran every ...
5
votes
2answers
2k views

Is it possible for a Scheduled Task to perform a graphical (interactive) logon or use a script to do the same?

I'd like to have a Scheduled Task (or a script of some sort) perform an automated interactive logon at a given time on Windows Server 2003. The reason is in this question I've asked a short while ...
1
vote
4answers
5k views

Why isn't my Scheduled Task running a batch script?

OS: Windows 2003 Server Setup: The batch file basically uses 7zip to zip up a few files into a location ready for uploading into an offsite location via FTP. I have run the batch file as myself and ...
24
votes
5answers
20k views

Process runs slower as a scheduled task than it does interactively

I have a scheduled task which is very CPU- and IO-intensive, and takes about four hours to run (building source code, if you're curious). The task is a Powershell script which spawns various sub-...
15
votes
4answers
22k views

How do I schedule a reboot on Linux?

I'd like to be able to schedule a server reboot at a specific time, but not regularly. How can I do this without futzing with adding and removing cron entries?
5
votes
2answers
9k 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 R2,...
4
votes
7answers
28k views

unable to schedule a task (access denied)

i have a bat file im trying to schedule every morning. whilst in the Scheduled Task Wizard... when i click on finish... i get a ... The new task could not be created. The specific error is: ...
2
votes
2answers
31k 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
2answers
10k views

When ran as a scheduled task, cannot save an Excel workbook when using Excel.Application COM object in PowerShell

I'm having an issue where I've automated creating an Excel.Application COM object, add some data into a workbook, and then saving the document as an xlsx. This works fine if: I'm already in ...
4
votes
4answers
15k views

Robocopy failure with Windows Server 2008 Scheduled Task

So I have a batch script for robocopy. Running this from the command line does exactly what I want. robocopy "D:\SQL Backup" \\server1\Backup$\daily /mir /s /copyall /log:\\lmcrfs4g\NavBackup$\...
3
votes
1answer
4k 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 ...
3
votes
0answers
162 views

How to run a Scheduled Task as NetworkService in Windows Server 2003? [duplicate]

How do i configure a scheduled task to run as NT AUTHORITY\NetworkService in Windows Server 2003? Background Even though the account is known as NetworkService, the full name is NT AUTHORITY\Network ...
3
votes
3answers
16k views

SCHTASKS can't administer remote tasks

I am trying to stop and then disable a remote task from a build script. The remote server is Server 2k8. The client running the script is Windows 7. Both machines are joined to the domain. When I run ...
2
votes
3answers
1k views

Powershell - Set-ClusteredScheduledTask - Error “Incorrect function.”

I'm experimenting with Powershell to add a ClusteredScheduledTask on a clustered server (Win 2012/R2) Technet sample code gives error: #canned exampled from http://technet.microsoft.com/en-us/...
1
vote
1answer
543 views

What Event ID is generated when a scheduled task fails in Windows Server 2003?

If a scheduled task fails on Windows Server 2003, is anything written to the event log? And if so, what Event ID does it have so I can set an Event Trigger to look for it, and email me?
1
vote
3answers
7k views

Scheduling VMWare ESXi 4.1 VM Restart

We had a virtual machine running on a VMWare Server host on Windows Server 2003. The machine is set up with non persistent disks. We had a windows task schedule set up that ran a batch file to reset ...
1
vote
2answers
2k views

Can I schedule Windows Server Backup using a managed service account?

I've set up a scheduled backup using the Windows Server Backup. Also, I've created a managed service account that should execute the backup, but the Schedule wizard doesn't accept the user account. ...
0
votes
1answer
84 views

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 ...
0
votes
2answers
3k views

PowerShell script works from command line, not from Task Scheduler. Why?

My PowerShell script works from the command line, but not from Task_Scheduler. This is PowerShell v1 on Windows Server 2008 R2 Enterprise. From the command line, I type: c:\> powershell -File "C:\...
0
votes
2answers
1k views

cwrsync on Server 2008 R2 as a scheduled task

I have a an rsync(cwrsync) batch file set up to run, backing up several directories daily to a backup server via ssh. I set this batch file to run as a scheduled task, however it does not seem to. ...
0
votes
4answers
1k views

Way to automate an application that requires a graphical login?

I'm faced with a problem: Under Windows Server 2003, I need to automate an application (Sage 100) that doesn't have any automation service of its own. First attempt I found -and was impressed by- ...