L2JMobius

Fafurion schedul events

bughadze · 6 · 1746

Offline bughadze

  • Heir
  • **
    • Posts: 19
in config.xml i make schedul tvt event every 1 hours:
<?xml version="1.0" encoding="UTF-8"?>


<event name="Team Vs Team" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../xsd/event.xsd">
    <!-- Run every 1 hours -->
    <schedule pattern="0 */1 * * *" />
</event>

Is there anything else I need to change?
The event doesn't launch after a server restart.
Please share your experience and help me.


Online Mobius

  • Distinguished King
  • *****
    • Posts: 19656


Online Mobius

  • Distinguished King
  • *****
    • Posts: 19656

Online BazookaRpm

  • Count
  • *****
    • Posts: 444
  • Lineage II - lover - Heirophant
example.

   <!--
      The pattern attribute specifies the schedule time of the event.
      - Minutes (0-59)
      - Hours (0-23)
      - Day of the month (1-31)
      - Month (1-12)
      - Day of the week (0-7)
      You can use * as a wildcard value.
      You can use multiple schedule elements.
   -->
   <!-- Run at 1 hour every day. -->
   <schedule pattern="0 08 * * *" />
   <schedule pattern="0 09 * * *" />
   <schedule pattern="0 10 * * *" />
   <schedule pattern="0 11 * * *" />
   <schedule pattern="0 12 * * *" />
   <schedule pattern="0 13 * * *" />
   <schedule pattern="0 14 * * *" />

   <schedule pattern="0 22 * * *" />
   <schedule pattern="0 23 * * *" />
   <schedule pattern="0 00 * * *" />
</event>

edit and test.

but chatgpt really answers your question well, you don't know how to formulate it to your need, let alone channel it to the project
Atte BazooKa.RPM

Lineage II Lovers


Offline bughadze

  • Heir
  • **
    • Posts: 19
example.

   <!--
      The pattern attribute specifies the schedule time of the event.
      - Minutes (0-59)
      - Hours (0-23)
      - Day of the month (1-31)
      - Month (1-12)
      - Day of the week (0-7)
      You can use * as a wildcard value.
      You can use multiple schedule elements.
   -->
   <!-- Run at 1 hour every day. -->
   <schedule pattern="0 08 * * *" />
   <schedule pattern="0 09 * * *" />
   <schedule pattern="0 10 * * *" />
   <schedule pattern="0 11 * * *" />
   <schedule pattern="0 12 * * *" />
   <schedule pattern="0 13 * * *" />
   <schedule pattern="0 14 * * *" />

   <schedule pattern="0 22 * * *" />
   <schedule pattern="0 23 * * *" />
   <schedule pattern="0 00 * * *" />
</event>

edit and test.

but chatgpt really answers your question well, you don't know how to formulate it to your need, let alone channel it to the project


it's work,. 10x you