nelson ostos
8th July 2003, 18:59
could any person to help me ?

does some way to do a test to see if the job daemon its working?
For test if the job is on , I made a session called tdtsto100m000 that makes the following thing:
It places the fields of a table XXXXX empty

It modifies the hour of execution of a called task TEST so that it is executed in next 2 minutes
The task TEST executes a session that modifies the table XXXX
The session tdtsto100m000 waits several minutes (3 minutes)
The session reads the table XXXXX
If the fields of the table are empty, it executes a script in Unix that restarts the job daemon.
But this is very complicated..... and not working well all the time

Any idea ???

Thanks

:confused:

dnnslbrwn
8th July 2003, 20:29
wow... that's a whole bunch of logic!

Probably not what you want to hear, but as you are on UNIX, why not use cron? Been around a long time and works well - as opposed to the Job Daemon that seems to take a whole bunch of unscheduled holidays IMHO.

Cheers,

-Dennis

nelson ostos
8th July 2003, 20:49
Guru

could you explain me how to do in Unix ???

I have many task on different hours and the only solution is by Job Daemon

:(

NPRao
8th July 2003, 21:35
Nelson,

You might have to take a different approach. Refer to the links on the Board -

Running session in background.. (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=8872&highlight=bshell)

rc.startjob doesn't work (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=5882&highlight=bshell)

3GL parameter and return (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=9316&highlight=zmadmtest)