scheduled-tasks

Using schtasks to create a task with multiple schedules

Is there some way to use schtasks to create a task with multiple schedules ? ...

Scheduled Task Communication (using ITask interface)?

Is there anyway using the ITask interface to communicate with a scheduled task? I have tasks that users can cancel, pause, etc and a main console that displays information about the tasks. Right now I can only tell if they are running or not via the GetStatus method. What I would like to do is connect to the task and pass a string (poten...

Possible to only initiate scheduled task if shortcut/button clicked?

Hi, I've created 2 tasks in Task Scheduler on my Vista PC start uTorrent at 2am then close uTorrent (and shutdown PC) at 7am. However i'd like to only like this task to run if I've clicked a shortcut - ideally show something in the tray as well if possible. But not sure how? Thanks in advance! ...

Shared Hosting scheduled mail in asp.net

Hai guys, I want to send scheduled mail every morning from my application and my website is on shared hosting.... I am using asp.net 3.5 and mysql ...

What happens to TimerTask after execution?

What happens to class that extends TimerTask after it's run method has been executed? Is value for myTask null or what after execution? MyTask myTask = new MyTask(); ...

Which is better to use for a recurring job: Service or Scheduled Task?

I have a task that needs to run every 30 seconds. I can do one of two things: Write a command line app that runs the task once, waits 30 seconds, runs it again and then exits. I can schedule this task with Scheduled Tasks in Windows to run every minute Write a Service that runs a task repeatedly while waiting 30 seconds in between each...

What alternatives exist to Spring Batch to handle queued jobs?

I have been looking in to Spring Batch to solve a batch processing scenario with huge amount of data involved in each job. Are there any other solutions that compete with Spring Batch? To be used in a JEE environment. ...

SAP Background Job: How's it Running?

I have to move an SAP background job(ABAP report for A/P) into Cronacle and can't figure out how to stop the job in SAP so I can start running it with the Cronacle schedule. The job runs in SAP from user SAPSYS every morning at 7:15am, but if you look it up with sm37 there is no time scheduled for it and it's not triggered by an event; ...

scheduled task or windows service

My team is having a debate which is better: a windows service or scheduled tasks. We have a server dedicated to running jobs and currently they are all scheduled tasks. Some jobs take files, rename them and place them in other directories on the network. Other jobs extract data from SQL, modify it, and ship it elsewhere. Other jobs f...

Is there a way to take screenshots during a scheduled task if the user isn't logged in?

I have a scheduled task that runs a set of Selenium tests every night at 3:30am. These tests also take a screenshot if they fail and email that screenshot to the development team. The problem I'm having, however, is that the screenshots only work when I'm logged in to the virtual machine (Windows Server 2003) that runs the tests. If no o...

Monitoring/Resumption for Complex Task Graph for Batch Processing

I have a set of batch-processing tasks that need to be run in an automated way on a weekly basis. The weekly basis part isn't hard: I'm using cron to kick things off. The tasks are basically anything that can be initiated with a shell script. The tricky part is that my tasks have a non-trivial dependency graph (B depends A, C depends ...

schtasks.exe vs ITaskScheduler

Hi guys, I'm trying to write some code to automatically "configure" a bunch of scheduled tasks on a machine. The program will read an XML file then "configure" the run times etc. of the task based on the information in the XML file. The idea should be that the program can be "run" multiple times on the machine and automatically "add/rem...

Regularly invoking an interactive process (WatiN tests) via Task Scheduler

I'm using a suite of WatiN tests driving IE to do some periodic sanity checking for the purposes of monitoring a site. The suite works fine when I invoke it interactively and/or when I configure the task in Task Scheduler to "Run only when the user is logged on". However, when I set it to "Run whether the user is logged on or not", and...

Running PHP with CURL to copying file to shared folder gives permission denied error

Hi All, I'm using Windows on my servers. I have to periodicly download some file to SERVER1 from FTP server. And then copy those files to shared folder on SERVER2 after downloading them. For this job, I write a PHP script and I scheduled it with CURL within .BAT file like: c:\curl\curl.exe http://localhost/getmyfiles.php My script ...

Java: How does the method scheduledExecutorService.scheduleAtFixedRate() ensures real-time execution?

Hi there! Because I'm executing a time critical task every second, I compared several methods to find the best way to ensure that my task is really executed in fixed time steps. After calculating the standard derivation of the error for all methods it seems like using the method scheduledExecutorService.scheduleAtFixedRate() leads to th...

Run a php code every 1 minute.

Hi all, I need to execute my php code every minute. is there any way to do that. help me please.??? Thanks in advance. Shibin ...

Appropriate location for scheduled tasks

In Windows, where is the most appropriate place to store an executable that will be ran as a scheduled task on a server? A file share? "C:"? "C:\Windows"? Others? ...

Help with a Windows Service/Scheduled Task that must use a web browser and file dialogs

What I'm Trying To Do I'm trying to create a solution of any kind that will run nightly on a Windows server, authenticate to a website, check a web page on the site for new links indicating a new version of a zip file, use new links (if present) to download a zip file, unzip the downloaded file to an existing folder on the server, use t...

Django scheduled jobs

I'm writing some auction functionality for a website powered by Django, and there is an option to have the auction be extended by a few seconds every time somebody bids (so that there is no last-minute sniping). When the auction is finished, certain things need to be done like notifying the winner of their victory and notifying the selle...

Newby question: how could I write a program/script to automatically copy directories to a remote computer?

Firstly, I have the utmost respect for programmers & IT professionals. I'm a newby/wanna-be. I'm looking for help on developing a small program/script that helps me with the task I have detailed below. I am NOT submitting this as homework. This is work-related, but I'm NOT asking you to do my job. I'm taking this as an opportunity t...