Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!waikato.ac.nz!comp.vuw.ac.nz!cc-server4.massey.ac.nz!G.Eustace Newsgroups: comp.lang.perl Subject: Backgrounding a perl program Message-ID: <1991Jun24.225506.29103@massey.ac.nz> From: G.Eustace@massey.ac.nz (Glen Eustace) Date: Mon, 24 Jun 91 22:55:06 GMT Organization: Massey University, Palmerston North, New Zealand X-Reader: NETNEWS/PC Version 2.1 Lines: 30 Firstly I'll admit to being a complete novice at perl programming. But I will add that I am impressed by what one can do with it. My first attempts do what I want, almost. I have a couple of perl programs that analyse the repquota reports from a number of systems and then produce summarised data. If I type the command mu_quotasummary | more I get exactly what I wanted. mu_quotasummary > results & sits in a Stopped state, awaiting tty input. I don't read from STDIN or /dev/tty at all. Is there some trick to getting the program to run in the background. I had wanted to put it in to crontab to run every week but my first attempts have meet with little success. I am using perl 3.0p37 on a Pyramid but I don't think my difficulty is version specific. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Glen Eustace, Systems Software Manager | EMail: G.Eustace@massey.ac.nz Computer Centre, Massey University, Palmerston North, New Zealand Phone: +64 6 356 9099 x7440, Fax: +64 6 350 5607, Timezone: GMT-12