Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
Overview
This node operation allows scheduling a server restart either immediately or after a specified delay. It is useful for maintaining or updating the server without manual intervention, ensuring minimal downtime by automating restarts. For example, an administrator can schedule a daily restart at a specific time or trigger an immediate restart with a reason and delay.
Use Case Examples
- Schedule a daily server restart at 3:00 AM in the Asia/Jakarta timezone.
- Restart the server immediately with a reason 'Maintenance update' and a 5000 ms delay.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | Optional parameters for the server restart operation, including reason for restart, delay in milliseconds, and timezone for scheduling. |
Output
JSON
json- Response from the server API after scheduling or triggering the restart, containing details about the restart operation status.
Dependencies
- Requires an API key credential for the WARest WhatsApp REST API to authenticate requests.
Troubleshooting
- Ensure the API credentials are correctly configured and have the necessary permissions to perform server operations.
- If the restart does not occur, verify the delay and timezone values are valid and correctly formatted.
- Common error messages may include 'Operation not implemented' if the operation name is incorrect, or authentication errors if the API key is invalid.
Links
- WARest API Server Restart Documentation - Official documentation for the server restart API endpoint used by this node.
