task

How to "End Task" not "Kill" or "Terminate"?

Hi community. I have a 3G card to provide internet to a remote computer... I have to run a program(provided with the card) to establish the connection... since connections suddenly is lost I wrote a script that Kills the program and reopens it so that the connection is reestablished, there are certain versions of this program that don't...

VS2008 Pre-Build Event Command BuildAction=None

Hi Guys, I am trying to add a prebuild event which essentially sets Build Action = None For a list of files before the solution is packaged up for release. How would I go about adding this & what command would I use to exclude a number of files in the web solution ? i.e. \script\some-script.js [Set Build Action = None] etc \script\...

Does CodeIgniter have to load view in the final step?

I have a function function do_something() { // process $this->load->view('some_view', $data); exec('mv /path/to/folder1/*.mp3 /path/to/folder2/'); } My intention is to move files after outputting the view. But apparently it is done before rendering the view. My question is, does $this->load->view(); have to be the final st...

Android: How to make launcher always open the main activity instead of child activity? (or otherwise)

I have activities A and B. The A is the one with LAUNCHER intent-filter (i.e. the activity that is started when we click the app icon on home screen). A launches B using startActivity(new Intent(A.this, B.class)). When the user has the B activity open, and then put my application into the background, and later my application's process...

How do you pass parameters to the JavaSamplerContext using Ant Jmeter task?

Hi, I am using the Ant Jmeter task to run a Jmeter test plan, which has been set up to use a Java Sampler. This sampler is a class I wrote that extends AbstractJavaSamplerClient. I need to pass in a couple of parameters to this class and I was hoping I could read them using the JavaSamplerContext. Any suggestions? Thanks Luanne ...

Using .NET 4.0 Task in ASP.NET

Are there any caveats or short comings to using the new Task API in System.Threading.Task in ASP.NET hosted under IIS? I know prior to .NET 4.0 working with any of the ThreadPool actions inside of IIS was always recommended to be avoided. ...

How to specify the equivalent of ppn (on PBS) in SGE queuing system ?

Hello All, Is there a way to specify the ppn ( or equivalent ) in SGE ? i don't want to use all cpus in one node so i will be able to have more memory per core. ( In PBS you would do -l nodes=16:ppn=2 for exemple) Thanks. ...

How to calculate a RTOS task's time

Hello all, I have written a code in c for Arm7 using RTOS. There are multiple tasks who's priority is set to same level. So the tasks executes on round-robin base. There is an exception that one task (Default) has set to lower priority then the other task in rtos. So that if no task is running, the default or lower priority task runs. ...

Problem with Sharepoint Tasks edited in Outlook that include table

After save the Table in Task body gets auto-converted to text. This is for Outlook 2010 which is connecting to Tasks in Sharepoint 2010 ...

Accessing Sharepoint tasks via web services?

I've looked at a lot of the previous questions asked about sharepoint and accessing objects via web-services, and I am pretty convinced that tasks can be accessed through the Lists interface. Can anybody please verify this for me? Also, if anyone has any examples of this I would be very grateful. I'm not a Sharepoint guy but I need to...

Task Queue Java API

What is the purpose of Task Queue Java API? How does it work, and where should it be used? ...

Task Queue Java API

Possible Duplicate: Task Queue Java API Hi Its difficult for me to understand the Task queue java API concept Plz give me a simple complete Task queue program It will very useful to understand the concepts... Plz Help me.. Regards Sharun. ...

Task queue java

Hi i'm new to Task queue concepts when i referred the guide I got struck on this line queue.add( DatastoreServiceFactory.getDatastoreService().getCurrentTransaction(), TaskOptions().url("/path/to/my/worker")); what is TaskOptions() method. Is it default method are method created manually what will TaskOptions() method wil...

Task queue java

Hi i'm new to Task queue java API i tried a simple Example for it. My idea is to redirect the queue file to a servlet and to print some statement in the servlet.But it doesn't work. i mapped web.xml and used default queue I didnt get any Error but the file is not redirected to servlet . this is the codee i followed taskq.java ...

Windows 7 DWM weirdness

I'm looking to write a FOSS "Alt+Tab" replacement (window switcher) for Windows, since there are a few features I feel it's (still) lacking; but I'm noticing two quirks I can't seem to fix: #1. (Somewhat Unrelated) In the default Windows 7 window switcher, one computer allows left clicking on a thumbnail to focus the window; however on ...

Task Queue Java API

Hi when i started to work on Task queue concept i got struck on this line queue.add( DatastoreServiceFactory.getDatastoreService().getCurrentTransaction(), TaskOptions().url("/path/to/my/worker")); What will DatastoreServiceFactory do... How to redirect this page to another servlet.... in the url i gave .url("/myservlet"...

Problem with autocommit in ANT SQL task

I have an SQL script and want to apply it witn ANT task. This script clears out schema, creates new tables and views. The ANT defined task as follows: <sql driver="com.mysql.jdbc.Driver" url="jdbc:mysql://host:3306/smth" userid="smth" password="smth" expandProperties="false" autocommit="true" ...

What is the diff. between a thread/process/task?

What is the diff. between a thread/process/task? ...

Sharepoint Filter

Hi All, I have two lists, Status Name (string) Active (yes/no) Task Name (string) Status (Lookup to Status list) I have the following statuses (These can be changed at any time by the client): New, Active = Yes Open, Active = Yes Not Resolved, Active = No Resolved, Active = No I want to create a view for the Tasks list, tha...

TaskFactory.StartNew versus ThreadPool.QueueUserWorkItem

Apparently the TaskFactory.StartNew method in .NET 4.0 is intended as a replacement for ThreadPool.QueueUserWorkItem (according to this post, anyway). My question is simple: does anyone know why? Does TaskFactory.StartNew have better performance? Does it use less memory? Or is it mainly for the additional functionality provided by the T...