cron is an OS background job processor & scheduler and is not supported
by IBM U2 Support.
PHANTOM verb is a background job processor and is part of IBM U2 and is
supported, but of course with no scheduling.

Depends on what you are trying to achieve, I guess. One you're going to
get support for from the vendor, the other you use at your own risk.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of doug chanco
Sent: Friday, December 21, 2007 2:55 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] anyone seen this error before?

thanks!  but I am curious is this a better solution than just using
PHANTOM in the shell script?

dougc

Hona, David S wrote:
> Here is Dave Church's solution/workaround to address the long 
> outstanding UV & cron issue, it's a little C program...
>
> -----Original Message-----
> From: Hona, David S
> Sent: Thursday, January 19, 2006 9:02 PM
> To: 'u2-users@listserver.u2ug.org'
> Subject: RE: [U2] [UV] Calling Universe from CRON
>
> I believe that issue is still there...haven't check lately...
>  
> Dave Church wrote & posted this C code on Info-Ardent and in 
> comp.databases.pick to solve the problem...
>
>
> /* This c routine can be used to start universe processes 
>    in cron or at.  Normally only one process can run at a 
>    time because they use the same printer memory segment. 
>    simply replace the 'uv' command with 'uvcron' for example: 
>    uvcron 'BATCH-REPORT1' > dave.mail */ #define UCB 0  /* set to 0 
> for System V or 1 for Berkeley */ main (argc, argv, envp) int argc; 
> char *argv[], *envp[]; { #if UCB
>         (void)setpgrp(0,getpid());
> #else 
>         (void)setpgrp();
> #endif
> /* CHANGE PATH TO MATCH YOUR INSTALLATION */ 
> (void)execve("/u1/uv/bin/uv",argv,envp);
> /* We should never come back here */
> printf("exec failed \n");
> exit(-1);
>
>
>
> }   
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to