Re: [Quickfix-users] Can turn a session off?
Brought to you by:
orenmnero
From: Grant B. <gbi...@co...> - 2011-06-10 21:01:54
|
I'm afraid I don't have much experience with using StartDay and EndDay. I'm not sure what happens if you set them both to the same day. (I haven't yet encountered a system that required a multi-day session.) I think using ini is the wrong approach. The ini file is loaded when you start the app; if the app is running, any changes to ini won't be recognized until you kill and restart the app, and it seems silly to restart an app just so it can sit in a disabled state. In practice, maybe scheduling via cron is more appropriate for what you're doing. -Grant On Fri, Jun 10, 2011 at 2:45 PM, Richard Hedin <rh...@pe...> wrote: > Hello, Grant. > > Based on your information, I told it to run for a minute on Sunday. The process isn't running on Sunday, so this is effectively "off". > > StartTime=17:00:00 > EndTime=17:01:00 > StartDay=Sunday > EndDay=Sunday > > But it seems to start the tcp connection right away, and just start the *FIX* session on Sunday. > > 20110610-19:26:45 : Created session > 20110610-19:26:45 : Connecting to 209.185.165.59 on port 9501 > 20110610-19:27:06 : Disconnecting > > Is that what it does? > > Perhaps I will have to go and change the code, rather than do it through configuration. > > > > Regards, > > Rick > > > -----Original Message----- > From: Grant Birchmeier [mailto:gbi...@co...] > Sent: Friday, June 10, 2011 1:45 PM > To: Richard Hedin > Cc: qui...@li... > Subject: Re: [Quickfix-users] Can turn a session off? > > With that definition, I'm pretty sure that every day your session will > stop a minute before noon and then restart one minute later. > > -Grant > > On Fri, Jun 10, 2011 at 9:32 AM, Richard Hedin <rh...@pe...> wrote: >> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html >> QuickFIX Support: http://www.quickfixengine.org/services.html >> >> >> Hello all. >> >> >> >> I’d like to turn my session off at the .ini file for a while. There is a program that starts several QuickFix sessions. The program hasn’t been designed so that it can readily not start one session for a few weeks. It would be nice to put in the .ini file: SessionEnabled=no . But that doesn’t seem to exist. >> >> >> >> If I do this, will I blow its mind? >> >> >> >> StartTime=12:00:00 >> >> EndTime=11:59:00 >> >> >> >> >> >> Regards, >> >> >> >> Rick >> >> >> >> Rick Hedin >> >> Software Engineer >> >> PE∆K6 Investments >> >> 141 W. Jackson Blvd. Suite 500 >> >> Chicago, Il 60604 >> >> D: (312) 362-4343 >> >> E: rh...@pe... >> >> >> >> ________________________________ >> See http://www.peak6.com/email_disclaimer.php for terms and conditions related to this email >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Quickfix-users mailing list >> Qui...@li... >> https://lists.sourceforge.net/lists/listinfo/quickfix-users >> >> > |