Questions tagged [scheduled-task]
A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.
662
questions
1
vote
1
answer
672
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 ...
2
votes
2
answers
97k
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 ...
3
votes
1
answer
8k
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
1
answer
55
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
2
answers
9k
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 ...
9
votes
2
answers
30k
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,...
1
vote
1
answer
2k
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
1
answer
1k
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.
...
3
votes
1
answer
231
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 ...
13
votes
4
answers
55k
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
2
answers
202
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
0
answers
195
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 ...
1
vote
1
answer
1k
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
2
answers
204
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
2
answers
27k
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:
On ...
2
votes
2
answers
270
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.
4
votes
2
answers
55k
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
1
answer
467
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
4
answers
385
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
1
answer
2k
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 ...
1
vote
0
answers
2k
views
task scheduler - run interactively as any user with admin credentials
I'm trying to deploy a scheduled task with a GPO.
The task is set to run at login and executes a batch file, which then executes an EXE file.
However, I also need it to be interactive and run with ...
1
vote
0
answers
384
views
SocketException (Timeout) only when running as scheduled task
I'm running a C# web-scrapper application (that I wrote) on a Windows Server 2003 instance under a user belonging to the local Administrator group. When I run it within a desktop/remote-desktop ...
4
votes
2
answers
3k
views
How to schedule a task X minutes after Windows Server 2003 starts?
How to schedule a task X minutes after Windows Server 2003 starts?
In "Scheduled Tasks" one can specify "When my computer starts" but I see no way to specify delay.
What I am trying to achieve: ...
1
vote
1
answer
334
views
Task scheduler not running (Server)
I have written a simple bat file to copy .txt files from one drive into another one. I want this to run everyday at this time but the problem is when I'm not logged in to the server the task does not ...
12
votes
6
answers
48k
views
Why is Windows Task Scheduler trying to launch multiple instances?
We have a number of Windows Scheduled tasks that run on one Server 2008 Webserver (not R2) which is in a cluster.
We recently moved from an original webserver Cluster to a new webserver Cluser (...
2
votes
1
answer
269
views
A way to migrate Windows Scheduler tasks from 2003 to 2008
Does anyone know of a method to migrate from the .job format to the .xml format that 2008 server uses?
I have dozens of working scheduled tasks, and I want to migrate them to a new 2008 server.
6
votes
4
answers
8k
views
Synology cron job not working
I am not sure where to ask this question but I'll ask here first.
I've got a Synology DS211 server and I am trying to run cron jobs but it is not working.
This is the code I got in the crontab file
...
4
votes
2
answers
6k
views
Add a new scheduled task from command line with "wake the computer to run this task" on
I'm trying to add a scheduled task to start every day at a fixed hour even if the computer is in sleep mode. In the Windows Scheduled Tasks Manager UI, there is a check-box labeled "Wake the computer ...
1
vote
1
answer
65
views
Schedule windows command with at
What will be the parameter to schedule a program in Windows with the at command to run from
Th-Sa, 3am, on even days ?
-1
votes
1
answer
2k
views
Can't set up task to run from non admin user
I have Windows server 2008 R2. One non administrator account named for e.x. abc. abc is member of backup operators, power users and schedulers. I have allowed all permissions to C:\Windows\Tasks for ...
17
votes
2
answers
45k
views
Windows Scheduled Task - Error 2147943711 for "on startup" task
I have a onstartup task that I want to automatically run, regardless of if someone is logged in or not.
I've set it up as Run whether user is logged in or not, Do not store password1, and Run with ...
-1
votes
1
answer
85
views
how to start scheduling tasks
"How to start a different task when other task stops" in windows xp.By using task scheduler it has to happen. either programmetically or through command line.
0
votes
1
answer
1k
views
Win2k8 Scheduled tasks and 'Run new instances in parallel'
I have a script that creates some scheduled tasks on a Windows Server 2008 R2 box using schtasks.exe, and I'd like that script to set the 'If an instance of the task is already running, run new ...
2
votes
1
answer
3k
views
Nagios Host Downtime Scheduling
Ok, so I've spent a bunch of time on this and I can not seem to get it working in my environment.
I have a Nagios 3.3.1 server with NConf 1.3. All works well and I'm pretty happy.
However, I have a ...
0
votes
1
answer
4k
views
How to schedule a backup in Plesk for Database and configuration? [closed]
I like to make a scheduled backup in plesk 10.4.
My target is to
Take the backup of Database and configuration and put in the FTP
location. I dont see any option in backup manager in plesk. Any
...
0
votes
3
answers
2k
views
Running scheduled web scripts in a Windows Server environment
I'm trying to get a scheduled web script running on a Windows Server and so far the only way I've managed to automate this process is by using the Task Scheduler to open Internet Explorer with the web ...
0
votes
1
answer
626
views
401 Running VBScript as scheduled task
I setup a scheudled task on Windows Server 2008 to run the following command:
C:\Windows\System32\cscript.exe //b //nologo D:\WebSites\MySite\Scripts\UpdateCache.vbs
The VBScript being run makes a ...
15
votes
4
answers
1k
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 ...
0
votes
1
answer
164
views
How to invoke scheduled task on Server 2008 from XP client using schtasks
We are running a scheduled task on a Server 2008 machine from an XP client. Using the following commandline (on the XP client):
schtasks /run /u "domain\username" /p "password" /s MyServer2008 /tn ...
1
vote
1
answer
1k
views
How can I get a scheduled task to run for a user regardless of which computer the user is logged onto?
I've got a scheduled task that needs to run for a user at a specific time. However, the user sometimes logs onto one machine, the next day onto another, then next week onto yet another. At some pint ...
5
votes
2
answers
4k
views
How to email output of scheduled tasks?
On Unix systems, the scheduled task service will email any output that a scheduled task produces. If no output is produced, no email is sent. How can I do the same thing on Windows Server 2003 or 2008?...
0
votes
1
answer
286
views
how to check a windows long running console task?
I have scheduled Microsoft Windows server console application (that output to stdout) using the task scheduler . It is long running and might take weeks to finish. Is there a way to "tap" into the ...
6
votes
3
answers
11k
views
How can I create a scheduled task from the command line that only runs on demand?
I"m trying to duplicate the steps in this article for creating a shortcut that launches a program without a UAC prompt. I'd like to create the task from the command line, however.
Here's the schtasks....
0
votes
1
answer
9k
views
How to start scheduled task in minimized cmd window? [duplicate]
Possible Duplicate:
Run a .bat file in a scheduled task without a window
In Windows 7, I have a scheduled task running a console application in a CMD window. It runs every day at 12 o'clock. When ...
0
votes
1
answer
257
views
Task Scheduler Library Windows Server 2008
A scheduled overnight task attempted to run but returned the operational code 'Launch Failure' - I think this was to do with a server connection going down. I can't remember what Task Scheduler said ...
2
votes
1
answer
348
views
Intelligent Task Scheduler
Is anyone aware of a tool for creating optimal schedules for tasks? I have numerous servers, running multiple databases, with various scripts that import and transform data to and from each database.
...
0
votes
3
answers
426
views
what generalized cloud backup job management tool with scheduler, and email reporting?
Short version
I am looking for a glorified cron manager with a web interface to manage backups and uploading to cloud storage. (and yes webmin has a pretty good cron scheduler plugin)
Long version
...
0
votes
3
answers
575
views
Windows Server 2008r2 process scheduling
We are needing a server that is solely responsible for executing various data manipulation scripts based on different events or triggers - previously when we were using Debian linux we scheduled it ...
5
votes
2
answers
20k
views
Permissions for Scheduled Tasks on a Domain Controller
I'm trying to run a Scheduled Task on a 2008 R2 Domain Controller and all was well until I set it into the production environment. I'm running the task as a Domain User that's defined in the "Log on ...
1
vote
1
answer
244
views
Scheduled Task Logging for local system account
A few weeks ago I implemented a scheduled task that executes every 20 minutes on every workstation and server in the organization. This task runs under the local system account.
Since that date I ...