[EMAIL PROTECTED] <> wrote:
> Dear All,
> 
> I found a video capture that does what I'm looking for - capture
> until the end of a recording, then dump a small log file.  I'm
> writing a small script that scans a directory looking for new files,
> namely, that log file.   
> 
> Ideally, it scans once a minute to look for this file, and, if it is
> present, begins a whole new set of steps.  My fear is that, given how
> very finicky video capture is and its propensity to drop frames if
> anything else is happening on that system, my once-a-minute check
> will interrupt the process and cause dropped frames.    
> 
> Currently, I am sticking to using the MS Task Scheduler and executing
> the perl program once per minute.  However, I can't seem to figure
> out how to set the priority on scheduled tasks.  
> 
> I know Win32::Task Scheduler exists, but my fear is that, by the time
> I have the code make the change in priority (interestly, I didn't see
> low settings, only high settings), it will be too late.  
> 
> Anyone have some suggestions as to setting priority on the "Scheduled
> Tasks"?  Or is there a better way? 

Try leaving your Perl script running while your capture is taking place,
and using Win32::ChangeNotify to tell you when the log file has been
written.

HTH

-- 
Brian Raven 


=================================
Atos Euronext Market Solutions Disclaimer
=================================
The information contained in this e-mail is confidential and solely for the 
intended addressee(s). Unauthorised reproduction, disclosure, modification, 
and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message do not 
necessarily reflect those of Atos Euronext Market Solutions.

L'information contenue dans cet e-mail est confidentielle et uniquement 
destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. 
Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail 
vous parvient par erreur, nous vous prions de bien vouloir prevenir 
l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre 
systeme. Le contenu de ce message electronique ne represente pas necessairement 
la position ou le point de vue d'Atos Euronext Market Solutions.


_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to