L2JMobius
Public Development => General Discussion => Topic started by: bughadze on January 15, 2025, 06:11:08 PM
-
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.
-
Ask ChatGPT what you set there.
-
Ask ChatGPT what you set there.
chatGPT cann't help me :(
-
chatGPT cann't help me :(
Your next best choice is go to a church and pray.
-
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
-
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