When I use cfx_servicecontrol to stop/start the POST service 
my POST log stops.  Because of a memory leak on our system we 
stop/start the POST service before every send of 36,000 emails, 
about every 2-3 hours.  So we send at 1:30am and then at 4:00am 
then again at 7:00am.  When the POSTRESTART.cfm restarts POST at 4am, 
the LOG stops.  Then the log starts again at 7am when POSTRESTART.cfm
runs again to send the next newsletter. Here's a sample of what happens 
in the POST log and the file I use to restart POST. Is there any way 
to stop this and get a complete log?


POSTRESTART.cfm
<cftry>
        <cfx_servicecontrol mode="stop" 
                            servicename="inFusionPOST" 
                            servicedisplayname="inFusion POST Server">
                
        <!--- changed from 5 to 10 7/15/03 to try to stop erratic logging --->
        <CF_WAIT SECONDS="10">

        <cfx_servicecontrol mode="start" 
                            servicename="inFusionPOST" 
                            servicedisplayname="inFusion POST Server">
        
        <cfcatch type="Any">
                <cfmail from="[EMAIL PROTECTED]" 
to="[EMAIL PROTECTED]" subject="PostRestart.cfm">
                        PostRestart.cfm has FAILED while STARTING IMS POST.
                </cfmail>
                <cflocation Url="MailManager.cfm" AddToken="No">
        </cfcatch>
</cftry>  


POST LOG SAMPLE
07/15/2003 04:00:39 AM [002] Rescheduling: 
20030715050039/3E063FE5D593C24F90DD59256B50F52D_DB3AFBC501D15A4AB58F18D880C0D6
A8.mail
07/15/2003 04:00:40 AM [017] WARNING: SOCKET ERROR2: (Sock Connect) [10061] 
Connection refused [hot mail.com] (mail.com)
07/15/2003 04:00:40 AM [017] WARNING: MX Lookup Error (no MX for hot 
mail.com. Rescheduling delivery.
07/15/2003 07:01:16 AM 
==============================================================================
============
07/15/2003 07:01:16 AM inFusion POST Server SE Edition version 2.5 started
07/15/2003 07:01:16 AM Copyright � 1999-2002 On-Line Data Solutions, Inc.  
www.CoolFusion.com
07/15/2003 07:01:16 AM 50000 MX Cached entries maximum


Mark Kecko
Technology
MediaPost Communications
[EMAIL PROTECTED]
==^=======================================================
     This list server is Powered by iMS
   "The Swiss Army Knife of Mail Servers"
   --------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/Support/
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/Developers/
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [EMAIL PROTECTED]
==^=======================================================


Reply via email to