periodically

Periodic Windows Server Based Processes

I have some custom programs I've written to do various maintenance/monitoring tasks that I run periodically (some every few minutes, some as little as once a day). Is it a better practice to run them out of the task scheduler, or to run them as a windows service (triggered by an embedded timer object)? ...

Polling a webpage periodically

I have a website where I need to poll a webpage in every minute or so. The page on the server will perform different task. I am trying to use Windows Scheduled Tasks, but that cannot be set to run in every minute. I know that there is cron jobs for this on Linux, but that is not available on Windows. Any ideas how to do this on Window...

How to make Subversion (or any program) perform periodic commits?

I want to configure my computer so that say every half an hour it automatically commits the program I am working on. I am using a svn repository so even if it was just a script that ran 'svn ci' every 30 min that would be okay. The problem is that I don't know how to do that. Could somebody please tell me, or direct me to something, tha...

Mootools Periodical Problems

I am having trouble getting a class function to run periodically with mootools. It runs one fine, but then I get a function is undefined error. The related code can be seen here: http://gist.github.com/142298 ...

eclipse autosave plugin

Im looking for plugin for eclipse that automatically saves files(so i dont have to use Ctrl+S). it could do it on focus lost or over some period of time. I think I saw something like that(I know IDEA has it), but I cant find it now :/ ...

Force periodically_call_remote to fire immediately

I have a periodically_call_remote that I want to fire right away (as if the code was present without the setTimeout) as well as call periodically. Is there a nice way to do this use PCR, or do I have to roll my own? I'm using jQuery/jRails if it helps. ...

Periodically testing of elements that are added to the DOM after pageload.

I've got a page where you upload videos, those videos are then encoded (much like Youtube). The encoding part can take some time and I want to automatically show the user if encoding is done by periodically polling the encoding status from within the page, if encoding is completed I want to replace the encoding icon with a "play" button ...

Call function periodically in Java

we need run one function periodically in Java web application . How to call function of some class periodically ? Is there any way that call function when some event occured like high load in server and so on . what is crontab ? Is that work periodically ? ...

Periodic tasks inside WCF service hosted in IIS

We would like to have some periodic actions executed by our WCF service hosted in IIS. What is the best way to do this...Creating a timer doesn't look as a good solution. Creating a windows service that would behave as some kind of a heart beat looks like a problem solution, but it still doesn't smell good. What approach will be a good s...

Recurring tasks in a Ruby On Rails application: Cron or other?

I am currently writing an application that pulls new information from RSS sources and has to update those RSS sources in a certain frequency. Currently I am pulling only when the user requests a feed but I want to change that behavior to automatic periodic fetching. I was writing a shellscript that would interact with the database and g...

best way to run a periodic query in mysql

Hi all, In my Rails application I have a separate process (BackgroundRb) to delete all transactions which are not successful and it must be run after every five minutes. But in BackgroundRb, it runs a database check after every second though my query executes periodically at the specified time(after 5 mins). So my question is what is th...

Return only the new database items since last check in Rails

I'm fairly new to Ruby, and currently trying to implement an AJAX style commenting system. When the user views a topic, all the current comments on that topic will be displayed. The user can post a comment on the page of a topic and it should automatically display without having to refresh the page, along with any new comments that hav...

Detect if a hudson build is manually or schedule (periodically) invoked

Ive set up deployment in hudson. SVN > Build > copy to production. I need to set up a schedule build to test for build error which is running every hour or so. What i dont want is the schedules builds to deploy to production. Is it posible to detect, in nant, if the current build is a scheduled build or a manually started build. Or shoul...

Own params to PeriodicTask run() method in Celery

Hello to all! I am writing a small Django application and I should be able to create for each model object its periodical task which will be executed with a certain interval. I'm use for this a Celery application, but i can't understand one thing: class ProcessQueryTask(PeriodicTask): run_every = timedelta(minutes=1) def run(self...

Mootools periodical funcion and time rewind

Hello ! I have some function taht is caller periodically: var func = function() { alert('Hello world!'); }; func.periodical(5000); This function is also called with click event: $('element').addEvent('click', function(){ func(); }); The timer starts and counts 2500msec, then I click $('element'), func() is executed and I w...

AJAX call like Facebook

Hi all, I want to create a little social network (a little test). How can i implements period ajax call like Facebook ? I need to update news, status,... How does it Facebook ? ...

jQuery function to load Rails partial?

I have a jQuery function that updates my data ever few seconds. But! It's not parsing the javascript it's loading. It just calls it appropriately every few seconds, and replaces my content with unparsed javascript code. setupMediaIndexPoller: function(organization) { url = '/organizations/' + organization + '/media/photos_and_video...

When you update a form, would save and replace text, or avoid updating the text?

I have a form in jQuery where I update all the images via a simple ajax call to reload the entire page. Unfortunately the captions are included in that form as well, and as I start writing, my captions are overwritten. What then would you do to keep them? Would you.. Save them before the ajax call and replace them after it? Avoid up...