scs@itivax.iti.org (Steve C. Simmons) (07/19/89)
I recently got a trailblazer to play with, and unpacked an old posting of HDB access stuff (from Lenny? Don't have it here at work..). It refers to a command setpgrp in the crontab entries. I've looked thru the archives and haven't found it. Can someone point me in the right direction? -- Steve Simmons scs@vax3.iti.org Industrial Technology Institute Ann Arbor, MI. "Velveeta -- the Spam of Cheeses!" -- Uncle Bonsai
lenny@icus.islp.ny.us (Lenny Tropiano) (07/20/89)
In article <2234@itivax.iti.org> scs@itivax.iti.org (Steve C. Simmons) writes: |>I recently got a trailblazer to play with, and unpacked an old posting |>of HDB access stuff (from Lenny? Don't have it here at work..). It |>refers to a command setpgrp in the crontab entries. I've looked thru |>the archives and haven't found it. Can someone point me in the right |>direction? |>-- |>Steve Simmons scs@vax3.iti.org |>Industrial Technology Institute Ann Arbor, MI. |>"Velveeta -- the Spam of Cheeses!" -- Uncle Bonsai Here it 'tis ... Not too bad, huh? ;-) -- cut here -- #include <stdio.h> main(argc,argv,envp) int argc; char *argv[], *envp[]; { if (argc < 2) { fprintf(stderr,"Usage: %s program [argv ... ]\n", argv[0]); exit(1); } setpgrp(0); execvp(argv[1], &(argv[1])); perror(argv[0]); } -- Lenny Tropiano ICUS Software Systems [w] +1 (516) 589-7930 lenny@icus.islp.ny.us Telex; 154232428 ICUS [h] +1 (516) 968-8576 {ames,talcott,decuac,hombre,pacbell,sbcs}!icus!lenny attmail!icus!lenny ICUS Software Systems -- PO Box 1; Islip Terrace, NY 11752