From: "Rajendra Babu, Praveen" <[EMAIL PROTECTED]> > * I submit jobs(basically proprietary language files) with a command, > let's say "resub".
> * The "resub" command puts the jobs in a queue along with the user id. > of who has submitted. Basically, the jobs run in a remote machine(from > a pool of machines) which have higher memory capacity and speed. > * I see the status of the jobs with another command called "bqview", > which tells me whether the job is pending or running. When the job is > complete, a log file is put out into a specific directory in the form > of <job_name>.log Where is that specific directory? On the mechine that processed the job? Or is there a common directory somewhere? How do you know who submited the job? Is the log file created as soon as the job is started being processed and is beging modified during the processing or is it created after the job completes. I mean ... is it safe to assume that if there is that file the job has completed? You could run a script there that would test for new files in this directory, this script could run anywhere. Another option would be to "watch" that directory with Win32::ChangeNotify, but the computer where is this directory and where the script runs must be WinNT/2k/XP. In either case you > The remote machines,"resub" and "bqview" commands are no way under my > control. Well ... how do you know then that someone has submited something? If you could force them to submit the jobs using your script that would do something and then run resub. Otherwise the only chance you have to find out someone has submited anything is to run the bqview. Jenda ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]