RE: [OLE] Win32::OLE can't capture events from SAPI5 COM objects

2005-08-24 Thread Jan Dubois
On Wed, 24 Aug 2005, Jouke Visser wrote: > > Sorry, no idea (and no time to dig into it now either). I remember > > that using events with MS Agent objects didn't work correctly with > > Win32::OLE, but didn't ever spend the time to figure that one out > > either. I believe those objects needed to

RE: cron for windows ???

2005-08-24 Thread Chris
> We want it to run once per day at a specified time. It runs on a Windows Server 2003 box. Windows Scheduler is very flaky on this box -- sometimes it runs the script, sometimes not. When it does run the script, it runs as expected. I've had this problem on every windows box. Have task schedul

RE: cron for windows ???

2005-08-24 Thread Dirk Bremer
Michael, I use the WS (Windows Scheduler) extensively on several machines many times daily. I have scripts that run every 15 minutes, 30 minutes, hourly, daily, monthly, etc. I find I get the best mileage from creating a batch-file that contains the execution of the program and its parameters and

Re: cron for windows ???

2005-08-24 Thread Chris Wagner
The only thing I can think of is that the script is running from scheduler with some funky/wrong username that is not allowed to see the output file with -f. I would check that. For cron usage I've used wincron to run expect scripts with no problems. U can get it from Tucows. At 10:50 AM 8/24/0

Re: cron for windows ???

2005-08-24 Thread Michael D Schleif
* On 2005:08:24:10:50:34-0500 I, Michael D Schleif <[EMAIL PROTECTED]>, scribed: > Here is the first point of breakage in the code: > > -f $out_file > or die "\n\tERROR: *NOT* a file: \'$out_file\'\n\n"; > > I have simplified this, with same failure: > > -f $out_file and die;

cron for windows ???

2005-08-24 Thread Michael D Schleif
We have a script that runs as expected from CLI. Basically, it parses logfiles, and prepends to another logfile one line of summary. Very basic, very simple stuff. We want it to run once per day at a specified time. It runs on a Windows Server 2003 box. Windows Scheduler is very flaky on this

Deleting old mails by MAPI

2005-08-24 Thread h-taguchi
Hello, I'm making a script to delete mails older than 1 month. But I cann't get date recieved. Someone knows the way? I can get Subject, text, can delete msg but cann't... Regards, Hirosi Taguti [EMAIL PROTECTED] #!/usr/bin/perl use Win32::OLE; print "COINIT_OLEINITIALIZE\n"; Win32::OLE->Initi

Re: [OLE] Win32::OLE can't capture events from SAPI5 COM objects

2005-08-24 Thread Jouke Visser
Sorry, no idea (and no time to dig into it now either). I remember that using events with MS Agent objects didn't work correctly with Win32::OLE, but didn't ever spend the time to figure that one out either. I believe those objects needed to be embedded in a real GUI application to fire events c