How to content Heartbets On Unraid ENG

  • Last Created On Sep 05, 2024
  • 31
1 0
Guide to Connecting Heartbeats to Your Unraid Server

Guide to Connecting Heartbeats to Your Unraid Server

  1. Open Unraid Settings:
    • Go to Settings in your Unraid web interface.

  2. Open User Scripts:
    • Click on User Scripts.

  3. Create a New Script:
    • Click on Add new Script.

    • Give your script a name.

  4. Edit the Script:
    • Click on the gear icon next to your script.

    • Click on Edit Script.

  5. Add the Code:
    • Insert the following code into the script editor:
    • #!/bin/bash
      
      # Infinite loop to send a heartbeat every minute
      while true; do
          # Send the heartbeat using curl
          curl -X GET "Your Link"
      
          # Wait for 60 seconds before sending the next heartbeat
          sleep 60
      done
      
    • Remember to insert your link in curl -X GET "Your Link".
  6. Save Changes:
    • Click Save Changes at the top.
  7. Schedule the Script:
    • Click on Schedule Disabled to the right of your script.
    • Select At startup of Array from the dropdown menu.

  8. Apply Changes:
    • Click Apply to the left under Add new Script.

  9. Run in Background:
    • Click Run in Background to ensure the script runs without needing to restart your machine.

Views: 31

Recent Articles

  • Hvordan setter man heartbeat up på Unrai...
    32
  • How to content Heartbets On Unraid ENG
    31

Popular Articles

  • Hvordan setter man heartbeat up på Unrai...
    32
  • How to content Heartbets On Unraid ENG
    31