title: Why my MYSQL event scheduler stops every night at midnight?
body: <p>So i have this database running on a Synology NAS, for a restaurant's app made with Laravel, and i have this <a href="https://i.stack.imgur.com/Y1xwl.png" rel="nofollow noreferrer">event here that should start every day at 4am</a></p>
  <p>The content of this event is nothing special:</p>
  <pre><code>UPDATE shipping_times SET shipping_times.available = shipping_times.max_quantity
  </code></pre>
  <p>Thing is, every night at midnight the <strong>event scheduler variable</strong> auto sets to <strong>OFF</strong> even if i do <strong>GLOBAL event_scheduler = ON</strong>.</p>
  <p>This is quite a problem since the event is used to &quot;replenish&quot; available orders.</p>
  <p>Since my event should occur at 4AM i don't think the problem is event-related.</p>
  <p>What could it be?</p>