A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.
1
vote
2answers
888 views
Windows 2008 R2 Scheduled Task Not Running With Admin Privileges even if granted?
I have a scheduled task that is running as USER. I have checked the box "Run with highest privileges" in the scheduled task properties. The task is a powershell script that, among other things, ...
2
votes
2answers
509 views
Scheduling a Perl script with output redirection
I'm trying to schedule a Perl script to be run from the Windows task scheduler and have the output be redirected to a text file. This seems straight forward, but it's not following the redirection, ...
0
votes
2answers
2k 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 ...
1
vote
3answers
2k views
Group Policy Task Schedule deployed to User Configuration not working, works when in Computer Configuration?
I added a Scheduled Task on my Windows 2008 R2 Domain Controller in the Group Policy Manager:
MyDomain Policy
User Configuration
Preferences
Control Panel Settings
...
0
votes
2answers
236 views
Batch command to schedule multiple servers to shutdown
Our company is in the middle of a move between buildings. I've been asked to schedule the majority of our servers to shutdown at midday tomorrow.
They already have a scheduled task for this, which ...
0
votes
1answer
48 views
Execute an event at exactly midnight of the 1st day of every month
I am using Windows XP as OS in my machine. I need to execute an event at exactly midnight of the 1st day of every month. e.g.: 2011-05-01 12:00 AM.
0
votes
2answers
675 views
Startup Script + Local System user = no functional program UI
I currently have a group policy startup script (CMD file). It runs during startup, as expected, but there is no UI for the program the script invokes.
For example purposes, let's say I have this ...
1
vote
1answer
750 views
Torque jobs does not enter “E” state (unless “qrun”)
Jobs I add to the queue stays there in "Queued" state without attempts to be executed (unless I manually qrun them)
/var/spool/torque/server_logs say just
04/11/2011 ...
0
votes
3answers
122 views
Task Scheduler doesn't have an option for my task
I need to schedule a job to run on the 25th of each month. If the 25th falls on a weekend I need the job scheduled on last Friday before the 25th. The Windows Task Scheduler doesn't have an option for ...
1
vote
2answers
2k views
Windows Scheduled Task: What are the minimum user rights needed for the task?
At the moment, I have task that is configured to run as user "automatictask"
But the task will not run, "unable to start" is shown.
When I add this user to the Administrators group, then the task ...
1
vote
1answer
169 views
MSSQL2008-R2 Scheduled Job Infinite Loop
I have two very similar jobs on a SQL2008r2 instance. Each one selects data from one of two structurally identical tables and exports it to one of two SQLAzure databases with the same schema every ...
1
vote
1answer
220 views
Windows Server Scheduled Tasks running command windows, how to prevent them from popping up?
On one of my servers we have a lot of scheduled tasks running java programs and what not. The problem is that everytime one of these runs the command window pops up and distracts any work that is ...
1
vote
2answers
92 views
Does ColdFusion Still run scheduled tasks when apache isn't running?
Does ColdFusion 8 application server still run the CF scheduled tasks when apache is stopped?
1
vote
3answers
350 views
Safe place to put an executable file on Windows 7 (and Windows XP)
I'm working on a tweak to our logon script which will copy an executable file to the local hard drive and then, using the schtasks command, schedule a task to run that executable daily.
It's a ...
2
votes
2answers
361 views
Install and enforce a scheduled task across a Windows domain
We have a small domain of about 70 Windows computers (XP and 7). We want to schedule a command (an update mechanism) to run on all computers periodically, and we want the task to run regardless of the ...
0
votes
2answers
2k views
Problem with scheduled task - portions of script do not execute
I am having a problem with portions of powershell scripts not executing when the script runs from a scheduled task. When manually executed, it operates just fine.
For example, I have the following ...
1
vote
2answers
4k views
Schtasks.exe gives Access Denied error when trying to access remote computer using a local admin account
When I execute schtasks /query /s serverName /u serverName\user /p password I get an Access is denied error. serverName\user is in the Administrators group on server.
Any ideas?
2
votes
2answers
5k 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 ...
0
votes
1answer
486 views
Run Scheduled Tasks once every 30 minutes
How should I configure scheduled tasks in Plesk control panel to make it run every 30 minutes instead of only at a specified time? I use plesk 9.3.0...
1
vote
3answers
3k 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
6k 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 ...
0
votes
1answer
1k views
Every month, scheduled task fails and password must be reset - why?
[NOTE: I posted this originally at StackOverflow but it got no traction there - reposting here.]
We have a bit of software installed at a few client locations that runs (via Windows task scheduler) a ...
2
votes
2answers
2k views
Update password for scheduled task
I have a scheduled task that needs to run as a service account. The service account's password resets every 100 days, so I need to update the password for the scheduled task.
I cannot figure out how ...
0
votes
0answers
483 views
How do I allow a (local) user to start/stop services with a scheduled task?
on a Windows 2008 R2 server I have two small .cmd-scripts to start/stop a certain service. They look like this
net start MyService
and
net stop MyService
I want to execute these script via ...
0
votes
2answers
8k views
Schedule Windows Server 2008 R2 to boot and shutdown
I just set up Win Server 2008 R2 + SQL Server 2008 R2, and i'd like to schedule two tasks.
One for shutting it down, or putting it to hibernate at a certain time, and one to wake him up.
Both tasks ...
1
vote
2answers
643 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
559 views
Are network drives visible for Scheduled Tasks?
I have a problem with a scheduled task which uses a mapped network drive. On some days the task does not get executed without any traces in the event log. The task launches an application on a mapped ...
0
votes
2answers
673 views
Creating a Scheduled Task that runs forever on Windows XP
When I create a scheduled task, I do so via command line:
schtasks.exe /Create /TN "startup-script" /TR "C:\startup.bat" /RU taskuser
/RP taskpasswd /SC ONLOGON
The idea is that this task run ...
20
votes
3answers
7k views
How do I rename a task in Task Scheduled on Windows Server 2008 R2
I have some tasks in the Task Scheduler on Windows 2008 R2. I created them as the admin and I'm logged in as the admin. I have no easy way to rename the tasks. The only way I can is to export the task ...
2
votes
1answer
817 views
Which SCHTASKS parameter(s) control the Setting “Stop the task if it runs for <x> hours”?
I have a problem with writing a script to automate the creation of Scheduled Tasks in Windows.
After much Googling, I am unable to deduce which parameters to the command-line utility SCHTASKS.EXE ...
0
votes
4answers
122 views
Remote reboot of windows to knoppix
I am attempting to develop an Auditing application.
This audit application will be employed on windows networks.
The Audit will need to discover Hardware and software details of all machines ...
0
votes
4answers
977 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 ...
2
votes
1answer
551 views
Scheduled task does not run on WIndows 2003 server on VMWare unattened, runs fine otherwise
Scheduled task does not run on Windows 2003 server on VMWare. The same setup runs fine on standalone server.
Test below explains the problem. We really need to run a more complex bat file, but ...
1
vote
1answer
380 views
Windows 2003 Scheduled Tasks fail to start after a few days
I've been searching all day for a solution for this, and so far have come up with nothing.
I have some scheduled tasks on a server that run PowerShell scripts. They run fine for a day or so, and ...
1
vote
1answer
217 views
run schedule task before windows service starts
I want to run a schedule task before a specified windows service (Service A). Service A starts automatically.
What is the best approach to take? Do I need to convert the schedule task into a service ...
0
votes
1answer
183 views
Only half of my pbs/Torque jobs are being scheduled
My supercomputing center recently moved from SGE to pbs/Torque. Now, when I schedule my array jobs, only half of the jobs in the array get scheduled. When they finish, the other half get scheduled. ...
0
votes
2answers
510 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.
...
2
votes
2answers
313 views
Allowing user read/write access to a folder during a particular time period - Windows Server
I'm looking for a safe and secure way to grant a user access to a particular folder during a strict period of time. For this example let's say, from 8:00AM to 8:30AM, Monday to Friday.
My reasoning ...
2
votes
2answers
7k views
Scheduled Robocopy task fails with 0x10 error
I'm trying to schedule a file-sync between two dedicated servers on a LAN. The remote machine is running Windows Server 2003 and the local machine is running Windows Server 2008.
I mounted the remote ...
0
votes
2answers
110 views
What are the minimum permissions a McAfee VirusScan Enterprise Scheduled Scan needs to run?
A fairly simple one. We have a server, we should be doing a scheduled scan. The scan uses a scheduled task which requires a user account, what permissions should that account have? We don't fancy ...
0
votes
1answer
50 views
VNC Job scheduling
Does anyone have any experience with synchronizing files across multiple machines at set times through VNC? Is there any software that can do this, looks like tightVNC is not capable of scheduling ...
0
votes
1answer
709 views
Scheduled Task: Last run result = 0xFFFFFFFB / Works when running from command prompt
I have a small job (.NET Console Application) scheduled to run daily. The scheduled task runs under a specific user.
When I log in with this user I can run the application without a problem from the ...
1
vote
1answer
84 views
Least privilege for backup app
I've written an app that compresses then sends backup files to a remote destination via SFTP. It is written in .net4/C#.
I'd like to make an entry in the Windows scheduler to run this app at x ...
0
votes
0answers
132 views
How to PostPone the windows task scheduler jobs using Powershell 1.0?
I want to postpone all the scheduled jobs by an hour, is it achievable with Powershell 1.0 (on Windows Server 2003)? Also, we may need to pass the service account details to the Powershell script to ...
1
vote
5answers
193 views
How to run a task on log-on for every Windows user?
Whenever a user logs on to a Windows XP Machine, I want to run a batch script as them that adds network printers. How to do that?
Using the Scheduled Task Wizard, it looks like I'd have to add a ...
0
votes
1answer
104 views
advisability of taskkill to close an application
Before running backups on the data from an application I need to close it cleanly without risking an improper shutdown and data corruption in a Paradox Database.
How likely is that, if I use taskkill ...
1
vote
3answers
1k views
Mac OS X silent software updates on a schedule w/ forced reboots if necessary
I am in charge of about 40 Mac OS X computers on a predominantly PC network. The systems are running about an equal mix of Mac OS X 10.5 and 10.6.
We are instituting a new policy of forcing OS and ...
0
votes
1answer
220 views
scheduled tasks running in %systemroot%\system32\
I have a scheduled task that calls a bat file, problem is it does this in c:\windows\system32 instead of the path it exists in (c:\bak), is there a setting that I can change to set it to run in the ...
2
votes
2answers
396 views
How to create a complex scheduled vmotion task in ESX 3.5
I need to migrate a bunch of VMs from one ESX 3.5 Cluster to another. Storage needs to be migrated from one iSCSI SAN to another, as well as the VMs.
Hosts on Cluster A have access to one iSCSI SAN ...
1
vote
1answer
860 views
SQL Server scheduled backup: sqlcmd.exe can't connect
I have a homebrewed backup system for SQL Server 2008 Express on Windows Server 2008. A scheduled task runs a .bat file, which in turns calls sqlcmd.exe to run a .sql file that backs up all of the ...
