scheduled-tasks

Scheduling tasks Advice? .Net, SQL Job?

I am creating a system where users can setup mailings to go out at specific times. Before I being I wanted to get some advice. First, is there already a .Net component that will handle scheduling jobs (either running another application or calling a URL) that will do what I am suggesting (Open Source would be cool)? If there isn’t, is it...

Scheduling tasks Advice? .Net, SQL Job?

Possible Duplicate: Scheduling tasks Advice? .Net, SQL Job? I am creating a system where users can setup mailings to go out at specific times. Before I being I wanted to get some advice. First, is there already a .Net component that will handle scheduling jobs (either running another application or calling a URL) that will do ...

Solutions for handling millions of timed (scheduled) messages?

I'm evaluating possible solutions for handling a large quantity of queued messages, which must be delivered to workers at a certain date and time. The result of executing them is mostly updates to stored data, and they may or may not be originally triggered by user action. For example, think of what you'd implement in a hypothetical lar...

Windows 2008 Task Scheduler - Other User unable to run the Task

I have created a scheduled Task in Windows 2008 Task Scheduler. (as a member of the local admin group). It runs on time and I can run the task anytime I want. However if a coworker tries to run the same task he can't because insufficent permissions, but he is also member of the local admin group). Anybody having an idea what is wrong he...

VBS scripting question - manipulating dates

I have the following code (manipulated some code from a helpful soul out in cyberspace). What it is meant to do is to zip all .csv files in a directory and name the zip file with the current timestamp. My problem - I have setup a scheduled task to execute the below code everyday. As you can see, I am going back a day each time the code...

Could not load file or assembly

This is my Errormessage: Could not load file or assembly 'file:///C:\Windows\system32\Rule.dll'. The system cannot find the file specified. The problem is that the same exe works in my development environment but not on productive server. The program is a tool that should run as a Scheduled Task on Windows Server 2008. It consists of an...

Why does Java's scheduleWithFixedDelay work with a Runnable but not a FutureTask<?> wrapping a runnable?

Why does Java's scheduleWithFixedDelay work with a Runnable but not a FutureTask wrapping a runnable? This can be shown pretty easily with two different code samples: ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor(); executorService.scheduleWithFixedDelay(new FutureTask<Integer>(new Callab...

task/activity precedences/dependencies

i am looking for some .net based library/piece of code to implement task/activity scheduling like microsoft project scheduling in following cases... Finish to Start Finish to Finish Start to Finish Start to Start please refer to understand in which context i am talking about... About linking tasks @ http://office.microsoft.com/en-us...

Run function every day at fixed time

I am developing an application in .net. At one point I have to make a function that runs at a fixed time every day. I don't want to use Windows service. Is there any other way that I can make this work? ...

How to call a method daily, at specific time, in C#?

I've searched on SO and found answers about Quartz.net. But it seems to be too big for my project. I want an equivalent solution, but simpler and (at best) in-code (no external library required). How can I do to call a method daily, at specific time? I need to add some information about this: the simplest (and ugly) way to do this, i...

Batch with No args runs as job (scheduled task) with no errors, Batch with 1 arg fails with Access Denied. Why?

Here's a trivial batch: @echo off if not .%1==.-b goto else echo Running with -b flag ON goto endif :else echo Running with NO flags :endif Now, trying to run this from a scheduled task on a Windows Server 2003... If the task is ran like: "C:\Test\test.bat" then the log (Schedlgu.txt) says: "Test Job.job" (test.bat) ...

Ways of scheduling tasks (without writing windows scheduler) in asp.net..

I am into shared hosting and they do not allow me to use windows scheduler... So what are the ways of achieving scheduled tasks ie(timed mail) in asp.net... I just saw background process by Jeff Atwood blog... Is it relaible? Or any other ways of doing scheduled tasks... Then i found quartz.net but i can't find a simple example that em...

Task Scheduler 2.0 - Run C# UI in foreground

I'm trying to schedule a c# app to run in Windows 7's task scheduler. It's set to run as an admin user. Logged in as that user, the UI is visible. Logged in as anyone else, the process appears in the task manager, but the UI is not visible. Through some googling, I eventually stumbled across this caveat listed on wikipedia: Runni...

c++ multithreaded task queue for scheduled tasks

I need to develop a module which will execute scheduled tasks. Each task is scheduled to be executed within X milliseconds. The module takes as a parameter an amount of worker threads to execute the tasks. The tasks are piled up in a queue which will probably be a priority queue, so a thread checks for the next-in-queue task (the one w...

I'm asking for an scheduling web application based on asp.net 1.1

I see many scheduling application based on asp.net 2.0 and above. But I could'nt see any component or app for 1.1 version. In sum, I'm looking for an scheduling web application or component. Can anyone help me about that issue? ...

Start Windows Task from Outlook Macro

Is it possible to run a scheduled Task in Windows Server 2008 from an Outlook Macro? Background is that it should be possible to start this task on incoming emails with a special subject. The task normally runs every day, but sometimes it should be triggered manually and not everybody has access to the server. Maybe someone has a solutio...

Utility made in C# and scheduled in Task Scheduler is behaving strangely!

I have a C# console application that fetches data from more than 100 servers using SNMP and then writes the same in DB. I have scheduled the same in Windows 2008 R2 server's Task Scheduler and is suppose to run after every 15 min. But the strange part is sometimes it runs and sometimes it don't. If I run it manually then it runs every ti...

How to check if a service is running via batch file and start it, if it is not running?

Hi folks, I want to write a batch file that performs the following operation: Check if a Service is running ** If is it running, quit the batch ** If it is not running, start the service The code samples I googled so far turned out not to be working, so I decided not to post them. Starting a service is done by: net start "SERVI...

Windows Task Scheduler & PHP

I know Windows Task Scheduler is iffy at best, what I don't know is why. I tried to create a couple of tasks that would run a PHP script at various intervals, but nothing happens. No errors no nothing. If I right click on the task in the Task Scheduler and choose run - it works perfectly, but it will not run at the specified times by it...

How can I run a ColdFusion scheduled task at an interval <60 seconds?

I have a CFC method that I would like to run at an interval of 30 seconds. However, the problem is ColdFusion won't let me schedule a task that runs at an interval of 60 seconds or lower. Does anyone have a suggestion about how I can (and should) accomplish this? To preemptively answer the question "What happens when your script runs lo...