Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    1. First of all you need to define the Schedule entity in FIXEdge.properties. The common Schedule structure is defined in the following way:

      Schedules.<name of schedule>.<section of schedule> = <cron expression>[;<cron expression>....]

      Below is the example how to setup some "default" session's schedule:

      Code Block
      languagebash
      linenumberstrue
      Schedules.Schedule1.StartTime = 0 0 8 * * 2-6
      Schedules.Schedule1.ConnectTime =  0 0 9 * * 2-6
      Schedules.Schedule1.DisconnectTime = 0 0 21 * * 2-6
      Schedules.Schedule1.TerminateTime = 0 0 21 * * 6


    2. Then you need to assign the defined schedule to the specific session which should use it:

      Code Block
      languagebash
      linenumberstrue
      FixLayer.FixEngine.Session.TestFIXAcceptor.Schedule = Schedule1


Refer to New-Style Session Schedule Properties article for details.Icon

Note

If you have old-style schedule properties specified (including DefaultStartTime and DefaultTerminateTime) as well as new schedule assigned to the same session, then new schedule will be apllied, while all old-style properties will be ignored;

1.1. How to assign one schedule to several sessions

...

If we use DefaultSchedule defined above, we can assign it to several sessions (say, TestFIXAcceptor1 and TestFIXAcceptor2) in the following way:

Code Block
languagebash
linenumberstrue
FixLayer.FixEngine.Session.TestFIXAcceptor1.Schedule = Schedule1
FixLayer.FixEngine.Session.TestFIXAcceptor2.Schedule = Schedule1

1.2. How to specify days off and time zone for my schedule

...