scheduled-tasks

Resque Scheduler on Heroku... Do it remotely ?

Hi! I'm adding Resque-Scheduler in my app on Heroku So... I need ONE alone and distinct worker acting as the scheduler and many doing the jobs. This is how I've done it : I've a distinct Heroku App which does nothing but has 1 resque-scheduler worker, running 24/7, adding Resque tasks to the Redis DB of the "distant" main App. (I do t...

Daily SQL Task to delete contents from a table

Hey I was wondering how I could set up a clean up task on a particular table to delete contents thats lets say a week old. I am using SQL Server 2005 ...

Need help with "at" command on Windows XP - Why the job is not executed ?

On Windows XP I'm trying to add a job like this: at 17:07 /every:s dir I expect dir to be executed every Saturday at 17:07, however I don't see anything happens in the command line window. Here is the log: D:\temp>at 17:07 /every:s dir Added a new job with job ID = 1 D:\temp>time/t 05:06 PM D:\temp>date/t Sat 10/02/2010 D:\temp>...

Why "schtasks" does not run my job ?

I scheduled a task on Windows-XP using schtasks utility, but the task does not run. Here is what I see in the SchedLgU.Txt log file: "MySQL Automatic Backup.job" (WampServer) 10/2/2010 6:36:43 PM ** ERROR ** Unable to start task. The specific error is: 0x800700c1: (Unable to find an error message) Try using the Task page Browse button t...

How to execute a scheduled task with "schtasks" without opening a new command line window ?

I have a batch file that creates a scheduled task using schtasks like this: schtasks /create /tn my_task_name /tr "...\my_path\my_task.bat" /sc daily /st 10:00:00 /s \\my_computer_name /u my_username /p my_password It works OK ...

Schedule Task : 6 months from now

Hi guys, I'm tryin' to find a way (from a batch file) that I can use to create a scheduled task that will execute 6 months from now. I've looked all over the net, and I'll I've come across is AT and SCHTASKS that will schedule the task monthly .. I'm looking for a solution that will execute this task every 6 months. I know this will r...

Create Task Scheduler (for running in machine restart) using MsBuild

I use VS 2008, .NEt 3.5, and MsBuild, and I need custom task MsBuild that create a "task scheduler" that it will run when the machine restarted. Anyone know any custom tasks in MsBuild Extensions or has any sample code about it ? ...

Coldfusion neo-cron.xml has been modified - when it hasn't been

We've just upgraded from CF 9 to 9.0.1 (ColdFusion 9 Update 1). We're running on Windows Server 2008. After the upgrade we noticed on our server that we were getting a lot of these messages in server.log: "Information","scheduler-6","10/05/10","12:34:48",,"neo-cron.xml has been modified . Reloading the service coldfusion.scheduling.Cr...

I can't use the task scheduling, alternatives?

Hi, I've been definitely told by my IT office that as my SQLServer database is in a shared SQL Server they can't run any executables via the server scheduling task service . The executable would query my database on a daily basis, update data in it and send an email. First, is this true? And secondly, do I have an alternative using .net...

What's are the benefits of using Web.config scheduled tasks over for example a Windows scheduled task

We are thinking of ways to get our scheduled tasks centralized as much as possible by dragging alot of tasks from website specific web.config files to one Windows schedules task. I can imagine that this has some negative consequences, but I want to list them so I can make myself a good explanation of what will work best. We have differen...

Wix 3.5 Create Scheduled Task

I've got a couple of projects I'm using Wix 3.5 for, along with Paraffin which is going really well, but I'm stuck trying to figure out how to create a Windows Scheduled Task as part of the installation. I could just run a bat file that creates the task, but I don't think that would give me the uninstall features that Wix has, nor allo...

Which layer should scheduled task be put?

I'm trying to implement DDD application with layered architecture. I have: Infrastructure layer - a layer which implements technology specific parts of the application. Domain layer - a layer which contains domain model. Application layer - a layer which contains interferences to interact with domain model. And interfaces layer - a lay...

Checking whether a server is up or not using batch file?

I need to check whether a server is up or not? If down then i need to send an email And this task should be repeated in every 30mins. I have to do this using batch file. ...

Cooperative multitasking using TPL

Hi, We are porting modeling application, which uses IronPython scripts for custom actions in modeling process. The existing application executes each Python script in separate thread and uses cooperative model for this. Now we want to port it to TPL, but first we want to measure context switching . Basically, what we have right now: ...

What are patterns/types of task queues? Can the multi-level task queue exist in form of a N-tree?

Hi, I still didn't discovered a widely accepted pattern for following situation: In the database, a three-level deep series of tasks exists. Main task: gather data for user X; report data; Sub-task: ensure that all data is fetched and is correct; report success or errors Minimal task: get a piece of data from network, match it agains...

How can I use a property on my Job instead of JobDataMap dictionary in Quartz.NET?

Hi there, I am working on a Windows service which needs to schedule tasks whenever one of it's web services is called. This could happen hundreds of times per second in a worst case scenario. The task needs to wait a period of time, typically a minute or two, then call a method passing a parameter. We tried to build our own scheduler c...

WSH / JScript to start and stop services based on time?

Hi all, Just looking to see if my assessment is correct on the easiest way to do this. Background: we have a software suite which we're running via services. The services need to be shut down between 10pm and 6am. We also need to check every 10 min to recover the services in case they've gone down when they were supposed to be up, and...

.NET 4 Task Class Tutorial

Hello there, .NET 4 have an Class - Task. It's pretty interesting and I would like to start using it. For example I would like to create very simple Task based files downloader, with cancel possibility on every download. Can anyone introduce me with sample code of doing that ? I would like to have an list of running tasks and would li...

How to run a batch file over a period of time repeatedly : Scheduling a task

I've a task(.bat file) which should be performed/executed after every 15mins. I don't know where to make its entry so that it'll be scheduled? With this, I want to see the execution(progress) of the task running(in command prompt). ...

Simple-as-possible task schedule to call web page

Hi, I have a web page on a which does some database updates (e.g. http://www.mysite.com/updates.asp). I want this page to be called automatically each day at 09:00. I know how to schedule a task in IIS, but the process of scheduling a task requires that I select a programme to operate the task. So I'm thinking perhaps I need to make ...