why sometimes the process could not start by itself in the night?



Hi:

I am wondering if anybody can point me the cause of this problem. It is a small problem, but it is pain.

In Konsole, I have several tabs. In tab one, I typed:
job 1; job 2; job 3

In tab two, I typed:
job 4; job 5; job 6

In tab three, I typed:
job 7; job 8; job 9

Each job takes three or four hours. My plan is to run one job after another during the night. I don't want to run all of them in parallel mode, which cause some system error.

I set up like this and go home. Suppose the last tab I have clicked is tab three. The unexpected PROBLEM is that: *sometimes* the next morning I come, job2 or job 6 not run YET while the jobs before them have all been finished. Now, if I click tab one, then the next job(suppose job 2)started. Or I click tab 2 and the job 6 starts. This problem happens very often, but not always. If lucky, I could get jobs 4, 5 and 6 all completed in one night.

The "job" is just a Java program. Inside the Java program, it calls system command and execute another non-java program. Put in another words, my Java program is like a robot which runs another program. I have tried not to use this way:
job 1; job 2; job 3

Instead, let my robot Java program takes the three jobs input files and let a for loop inside the Java program do it:
java -jar robot.jar input_1.txt input_2.txt input_3.txt

The problem remains. The solution in my mind right now is to let the robot circle around each tab within Konsole once in a while to "wake up" whoever is sleeping. Not sure it will solve the problem.

I double this problem relates to Konsole.

Thank you very much.

.



Relevant Pages

  • Re: [kde] ssh to multiple servers in seperate tabs in Konsole with one bookmark or script?
    ... server and make a ssh connection to that server and name that tab with the server's name. ... I've googled around and seen several scripts for opening a bunch of tabs, and even naming the tabs, but none of them do that AND make a ssh connection inside the tab. ... session, but it's all in one terminal. ... I create a konsole session type that binds to this script, ...
    (KDE)
  • [kde] Re: Konsole: split view show the same screen twice
    ... Then in one split pane, click one of the konsole tabs, in the other ... split pane click the other tab. ... But I expect I'll still use a fully separate konsole window far more ...
    (KDE)
  • Re: why sometimes the process could not start by itself in the night?
    ... In Konsole, I have several tabs. ... In tab one, I typed: ... let my robot Java program takes the three jobs input files and let a for loop inside the Java program do it: ...
    (comp.os.linux.misc)
  • Re: [kde-linux] konsole - window title
    ... On Monday 07 August 2006 23:06, David J Iannucci wrote: ... $ echo -ne '\033]0;AAAAAAA\007' ... But it doesn't change the tab title. ... The KDE way to set the konsole window and tab title from the command line is: ...
    (KDE)
  • [opensuse] lost konsole feature in kde 4.8
    ... I updated to 4.8 yesterday and lost one of the great konsole ... "ssh -t www.somewhere.else ssh acme" ... behavior that the new tab is a local shell. ... "each new tab runs the command from the command ...
    (SuSE)