Jump to content

Restart at particular hour


Recommended Posts

Hello guys, I have a question about how make a SQL for restarting the server to a particular hour. For exemple restart the server every days at 0.20 hours.

 

Any idea to make it? I tested this but don't work:

 

INSERT INTO global_tasks
(`id`, `task`, `type`, `last_activation`, `param1`, `param2`, `param3`)
VALUES
(5, 'restart', 'TYPE_TIME', 1218683548877, '00:20:00', '', '360');

 

Thanks for all.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...