scheduled-tasks

Scheduled .NET code execution in hosted environment?

I've got about 40 lines of .NET code in a console application that read and RSS feed and store information in a database. I need this code to execute every night for as long as the RSS feed exists (indefinitely). Currently, I just launch the console app. from my home computer. Because I can't trust myself to remember to do this every n...

Does Informix have scheduled triggers?

I need an Informix database to update some records on December 31 at 11:59; can Informix do this on a trigger, or does it have a scheduler of some sorts? I'm an Informix noob btw. I'm using informix 11.1 for hp-ux ...

Scheduled tasks in Win32

I have a Scheduled Task on a WinXP SP2 machine that is set up to run a python script: Daily Start time: 12:03 AM Schedule task daily: every 1 day Start date: some time in the past Repeat task: every 5 minutes Until: Duration 24 hours Basically, i want the script to run every five minutes, for ever. My problem is the task runs some...

Quartz Scheduler and thread pooling

Please provide me some samples on Quartz Scheduler and thread pooling ...

Remind me Friday, what I should see on the weekend

I have the following query set up, in various incarcerations, to remind me of contract expirations 0, 7, 30, 60, and 90 days before the confirmed expiration date. My method of calculating the notification date doesn't give me any flexibility. For example, say I have 30 contracts expiring 12/5, a Saturday when my office isn't open. I w...

how to run a application with fault handling when windows startup

hi, all. i got a wired case i got two console .net applications. let say app1 and app2. i want both the applications run when the windows server startup (without login, my two apps will run automatically) but there is a rules, app1 must run at least 10 minutes before app2. and any one of them crash, i want them can raise up again autom...

Unit Testing a Windows Scheduled Task Console App

Hi all, I am in the process of taking over a legacy system that contains a Console App project, which is run as a Scheduled Task on our production servers. It mainly produces daily and weekly reports, does some database maintenance, etc. The "main" of the console app handles inputting the command line arguments and determining which o...

How do I access an MVC function via a cron job?

Hi, I'm using CodeIgniter (a PHP framework) to build an app, and I have an every-minute job to run with the program, 24 hours a day. I currently have it set up as: example.com/controller/runthis and that executes the job I want, but cron doesn't visit the URL as a user, it executes a script as far as I know. Do I just write a script ...

Launch scheduled task from script

On a Windows server, we have a task which runs occasionally, using "Scheduled Tasks" to control it. (best not to run it directly, since it might need to be run as a particular user, and the Scheduled Task configuration has all the appropriate passwords). We'd like to control this via a PHP script, so that visitors to a website can requ...

ColdFusion scheduled tasks - how to secure when using <cflogin>?

I have a web-site written in ColdFusion that contains both the usual interactive web pages and some tasks run through the CF scheduler. The dir layout is / /app /scheduledTasks I'd like the tasks to be able to use all the same settings, etc. created in the application.cfc inside of /app so I'd like to move that entire /scheduledTasks ...

How to run a stored procedure every day in SQL Server Express Edition?

How is it possible to run a stored procedure at a particular time every day in SQL Server Express Edition? Notes: This is needed to truncate an audit table An alternative would be to modify the insert query but this is probably less efficient SQL Server Express Edition does not have the SQL Server Agent Related Questions: How can ...

How to run a stored procedure when SQL Server Express Edition starts?

How is it possible to run a stored procedure when SQL Server Express Edition starts? ...

I would like to create Visual Studio deployment project that creates some scheduled tasks in a domain environment

Hello, I want to create a Visual Studio 2008 deployment project that installed some scheduled tasks in the commit phase. I'm working in a domain environment and I would also like the scheduled tasks to run whether the user is or is not logged on. So for this, the Task Schedules needs the password for the domain user. Also, the installat...

An enterprise scheduler for python (like quartz)

I am looking for an enterprise tasks scheduler for python, like quartz is for Java. Requirements: Persistent: if the process restarts or the machine restarts, then all the jobs must stay there and must be fired after restarting. Jobs must enter and exit the scheduler in a transaction (i.e. if some database operation fail, in a databas...

How can I run a controller method as a background task?

I've heard of the various background task tools (delayed_job, starling, workling, etc) but from looking at those it seems they're really only capable of running model-based methods (User.update_counters, for example). I need to be able to run a controller method as it's a pretty complex set of tasks that's intertwined a slew of other co...

How to use database server for distributed job scheduling?

I have around 100 computers and few workers on each of them. The already connect to a central database to query for job parameters. Now I have to do job scheduling for them. One job for one worker takes few minutes, doesn't require network connection (except for dealing jobs and reporting) and can be done at any time in any order. Cons...

Vista Schedule Task From Setup

I'm deploying a C# application using the Setup Wizard project in Visual Studio 2008. What is the simplest way for me to have Windows schedule my application to run at regular intervals (e.g. every 8 hours)? I prefer if this scheduling would happen during the application's installation to simplify setup for the end-user. Thanks! ...

scheduled task log to a file named after current date

i have a scheduled task running for every 30 mins in ubuntu. i'm writing the log to a file called sh_tsk.log and using >> so that it doesn't overwrite. But what i want is to separate logs using dates. i.e today's log should be in a file named after today's date and tomorrow's log should be in a file named after tomorrow's date. i know i ...

Runing continues proccess on a web server

I' am building some RSS web service in ASP.net (using IIS as the web server). In it I wand to create some king of RSS reader. I 'am creating some process that will retrieve the content from the RSS feed every 3 hours. I want to create a control panel that will give me the ability to start/stop the process, and will have some simple dashb...

Scheduling scripts at a different timezone

There are some programs/scripts that need to be run at specific times in a timezone different from the system timezone. A la crontab in Perl, but one that honors a timezone and DST rules in a region different from that in which the system is configured. Here is the use case : I will create an excel sheet with the time in PT in column B...