(on nomail here)

BACKGROUND

- Ive had PC problems the last few weeks, & when I got back online, (2-3 days 
ago.. ) one of my big scripts was broken (it was trying to process too much at 
one time - cronjob)..

I'm now in the process of re-doing my scripts, but do things in smaller 'batch' 
processes..

PROBLEM:-

During my testing, I found my 'email-in' script - was working (its seperate 
from my non-working script) - However, it leaves 1 message on the server each 
time.

Ive tried adding, or subtracting the index... - However still get the sdame (or 
similar) errors 

- I'll send you the code details tonight - when I get home... 

QUESTION

- has anyone got an online tutorial / script - for something that 

A :- Will loop through an IMAP/POP3 email account & save all the messages to 
the server (as text files)...
B) :- You actually use (with no errors)

(it doesnt matter if it saves the message over the top of the same server - Ive 
got a small script to determine a new file) - as long as the script works (with 
no errors...)

- I'll log in tonight at home, & send you more info (if needed) - or a section 
of my code....

QUERY2 (while im here)..

Ive got a cron-job, (as you know)....

i'm thinking of duplicating my script - eg scrip1.php  & script2.php. (same 
code..)

- if I put 

sleep(10);
inclide("script2.php");

at the end of my script1.php  

Q - Will the server count that as 'idle' time ? - IE - if the script  itself 
runs at "full-blast" - for 5-10 seconds..
- Will it count  2 lots of 'processing'  - with a gap in the middle...

or one big processing job  - 10-20-30 seconds long (the script takes different 
times for different tasks..)

hope that is clear..

G





Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to