# cat uvcron.c
/* 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 */
Doug,
First off, it looks like you are missing the # signs on the compiler
directives:
#if UCB
setpgrp(0,getpid());
#else
setpgrp();
#endif
I don't have access to an aix compiler, but this seems to fix it for gcc.
rex
---
u2-users mailing list
Replying again ...
Having looked at the previous email, I notice that the if/else/endif was
originally #if/#else/#endif. Those #'s are important ... ignore my previous
solution and put the #s back.
Oh - and whether UCB is 1 or 0 - do man setpgrp and hopefully the answer will
be obvious ...
My C skills are rusty, but I think the two errors are
1) a misplaced curly brace - it's procedure (args) { body } so move the
first curly brace between the arguments and the variable declarations.
2) C doesn't have endif - get rid of it.
(Oh - and good programming practice - always put your
I have one question about this 'c' program
#define UCB 0
/* set to 0 for System V or 1 for Berkeley */
What should the above be set to? We are running aix 5.2, my gut feeling
is System V
Thanks,
Dougc
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
MAJ,
Of course a simpler method would to be for users to use a email client
that can perform threading .. even may web based ones can do that
Of course if people don't read first nothing can help
DSig
Monday, December 24, 2007, 10:28:42 AM, you wrote:
MP Perhaps this is why this forum may
That was the problem!
Thanks a million
dougc
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rex Gozar
Sent: Thursday, December 27, 2007 10:01 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] anyone seen this error before?
Doug,
First off, it
Like many on this forum, I get around 80 emails a day. They are sorted by
date/time and if I read a u2-post on the email at 2:00 pm that says What is
1+1?, I may react and reply to it without reading the answer on the 3:00pm
email (and 3:05 and 3:10 and 3:15 etc). I may have gotten some ebay