HELP PHANTOM, from TCL will show the syntax for running phantoms. The biggest "problem" is the SB.LOGIN that is put in your login proc. You will want to make sure you skip it for this program. The help gives some ideas for doing so.
hth P.S. Make sure you trim your replies!! -- Colin Alfke Calgary, Alberta Canada "Just because something isn't broken doesn't mean that you can't fix it" Stu Pickles >-----Original Message----- >From: Al DeWitt [mailto:[EMAIL PROTECTED] >Sent: Saturday, June 26, 2004 9:34 AM >To: [EMAIL PROTECTED] >Subject: [U2] Monitoring a count of users logged on > > >I should have been more specific. We are running Unidata 6.0 >on a Windows >2000 server as well as using SystemBuilder 5.2.4. > >Taking what I learned here I found that system(514) will give >me a count of >users logged on. I have created basic program that outputs >the info I need >to a file. I used the SB job scheduler to create a phantom to run it. > >However, I think I remember that Sleep doesn't work with job >scheduler and I >have the program sleep for 60 seconds before looping. Can >anyone verify >this? > >If sleep doesn't work is there a work around for me to pause >the program and >run it every 60 seconds? Or I suppose I could run it as a >phantom directly >out of UniData, but I don't know the command structure to >execute that. Can >anyone help me on this as well? > >Thanks. > >Al ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
