<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Multiple job schedule for same MessageListener class</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112781343" />
  <subtitle>Multiple job schedule for same MessageListener class</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=112781343</id>
  <updated>2026-04-05T21:34:52Z</updated>
  <dc:date>2026-04-05T21:34:52Z</dc:date>
  <entry>
    <title>Multiple job schedule for same MessageListener class</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112781342" />
    <author>
      <name>Kailash Yadav</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112781342</id>
    <updated>2019-03-15T16:28:49Z</updated>
    <published>2019-03-15T16:28:49Z</published>
    <summary type="html">Hello,&lt;br /&gt;&lt;br /&gt;We want to register multiple scheduler jobs for same custom MessageListener class but it is registering only once. Our requirement is same as Staging scheduler where we can schedule multiple staging publish and LayoutsLocalPublisherMessageListener class invoked for all.Our requirement is like we need to provide some configuration for admin where admin can send different type of emails on different frequency. for e.g. :&lt;ul style="list-style: disc outside;"&gt;&lt;li&gt;Promotion type email should be sent to 100 users every week.&lt;/li&gt;&lt;li&gt;Password Reset type email should be sent to 1000 users every 3 months&lt;/li&gt;&lt;li&gt;Hot offers type email should be sent to 50 users daily 10am&lt;/li&gt;&lt;li&gt;..&lt;/li&gt;&lt;li&gt;etc.&lt;/li&gt;&lt;/ul&gt;This list is not fixed so we provided a configuration option to admin and there admin can add/remove this. We try to register scheduler entry for each record but unfortunately only one job is triggering. Any help how we can achieve this?&lt;br /&gt;​​​​​​​Thanks &amp;amp; Regards,Kailash</summary>
    <dc:creator>Kailash Yadav</dc:creator>
    <dc:date>2019-03-15T16:28:49Z</dc:date>
  </entry>
</feed>
