scheduled-tasks

How to get list of scheduled tasks and last run results in ColdFusion?

We're trying to build a dashboard for our chron jobs -- CF, Java, SQLServer, etc. so that we can see when things were run last, what the result was, and when they're scheduled to run next. Is there a way with the CFAdmin API or some undocumented <cfschedule> trick to get a list of: What tasks are scheduled? What the last run time was?...

PHP CLI and Task Scheduler problem

I thought I had set up a successful schedule in Windows to run a PHP script. But all I got was an error which slaps only when run through the task scheduler. Here is how I run the task: I created a batch file runCron.bat: start php.exe reportGenerator.php and placed reportGenerator.php in the same folder as of the batch file. When ...

Set PHP cron job on windows server 2003

Hi Guys, I am using Windows server 2003, IIS6, php and mysql. I have a problem setting the cronjob using built in schedule task feature in Windows OS. Start > Programs > Accessories > System Tools > Schedule Tasks Add "new schedule task" It asks me choose programs. Should I choose php.exe or internet explorer, because php files run on...

How to schedule a stored procedure?

How do I schedule a stored procedure in Sql Server 2005 that it runs once at the start of every month (and on database startup)? ...

MySQL: How to handle regular high volume of inserts/updates?

Hi, I have table where I track various statistics about site usage. Once a week, I plan to use these statistics and information from other tables to calculate various key indicators for use in multiple reports. This is in order not to have compute the complex data each time a report is accessed. These indicators will be stored in a sepa...

ASP.NET: Scheduled tasks

While the economy has been in the shitter, I've written possibly the most coolest site EVER for unemployed developers looking to buzzword-ify their resumes. (Don't hate the player, hate the game.) The only problem is, it needs a scheduled task to run once a day to do some data mining. I spent many, many hours a few months ago researchin...

running a daily job as a URL on a hosted server

i have a hosted web site and i have an asp.net mvc site. The hosting company allows you to setup "scheduled tasks" which are basically just using the windows scheduler. The service checks a URL at whatever interval that you want but all you can supply it is a URL. i want to have a job that runs a db query and emails out to me the resu...

Do scheduled tasks load Application.cfc in the same way as web pages?

Do scheduled tasks load the Application.cfc in the same way as web pages? We have a task which runs nightly and needs to use a services cfc loaded into the application. Will the application scope exist in the same way as it does when calling a standard web page? Are there any differences or gotchas to watch out for? ...

scheduled SSIS package creating excel file with date as filename

Hi, I need some feedback on what is the best way to do what I want to do, allow me to situate. I have a huge database which receives new inputs constantly. Now I need to have an excel file which shows all the columns of inputs of the past day. So I thought the best way to do this is to use SSIS packages. I never really used SSIS that m...

Django Timed Events

Hey Everyone, I want to schedule events to happen for my users. Is there an efficient way to do this in Python/Django easily? I'd prefer not to poll a priority queue. Thanks! Edit: I want to clarify that this job is run per user, for potentially hundreds or thousands of users. ...

ASP.Net scheduling timed events for large scale systems

What would be the best practice for having hundreds if not thousands of timed events? I have a C# ASP.Net web based application, this application sits in-between Microsoft Exchange and another web based service. Exchange is checked once every hour for users appointments, these appointments then needed to be forwarded to another web base...

Schedule a repeating event in Python 3

I'm trying to schedule a repeating event to run every minute in Python 3. I've seen class sched.scheduler but I'm wondering if there's another way to do it. I've heard mentions I could use multiple threads for this, which I wouldn't mind doing. I'm basically requesting some JSON and then parsing it; its value changes over time. To use...

Is there any way for a win2k8 scheduled task to have normal priority IO?

I have a scheduled task that is very IO intensive (deleting hundreds of thousands of files). For disk space reasons, this job has to be performed reasonably quickly. On win2k8, scheduled tasks always have a low IO priority. Raising the priority of the process did not change the IO priority. Is there any way to get a scheduled task to...

WebLogic job scheduling

Hello, overflowers :) I'm trying to implement a WebLogic job scheduling example, to test my cluster capabilities of fail-over on scheduled tasks (to ensure that these tasks are executed on fail over scenario). With this in mind, I've been following this example and trying to configure everything accordingly. Here are the steps I've don...

dynamic scheduled task

I need to schedule a console application to run daily at a certain time of the day. I have used "Scheduled Tasks" feature of Windows. Is there a way to dynamically change the time-of-the-day programmatically by C# for example? ...

Scheduled Task using HttpRuntime.Cache

Hi, I saw an article on here explaining a simple way of repeating a block of code using the runtime cache (http://blog.stackoverflow.com/2008/07/easy-background-tasks-in-aspnet/). I'm using this method to run a feed system so if a new feed is uploaded it will run the next time this code fires. See code below: public delegate void FeedDe...

PermanentTaskFailure in AppEngine deferred library.

I am using App Engine and the deferred library. But every once in a while my task fail with the following error: Permanent failure attempting to execute task Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/deferred/deferred.py", line 256, in post run(self.request.body) File "/base...

rake task via cron problem loading rubygems

I have managed to get a cron job to run a rake task by doing the following: cd /home/myusername/approotlocation/ && /usr/bin/rake sendnewsletter RAILS_ENV=development i have checked with which ruby and which rake to make sure the paths are correct (from bash) the job looks like it wants to run as i get the following email from the cr...

How do I run my .NET application in scheduled tasks when I am not logged in

I have a C# console application that just processes data. The problem is that when I log off, the console application ends. If I schedule the application to run at a set time and I am not logged in, the application does not run at all. I can run it interactively by double clicking the exe and I can open scheduled tasks and run it by righ...

Automated Appointment Reminder

I need to create a web application using php, I had many users having appointments on different days and time. What I need is to send emails say 1 day, 6 hours and 1 hour before their respective appointments, cron job seems to be the option but how to run script at the specific times(when email has to be sent) for every user? ...