Community discussions

MikroTik App
 
timreichhart
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 87
Joined: Sun Feb 07, 2010 9:11 pm

need a script for heartbeat

Sun Apr 11, 2021 10:36 pm

Hello Guys
I am needing a script or setup heartbeat for uptimebot they said to create a cron job: https://uptimerobot.com/help/heartbeat-monitoring/ I am not so sure how to do this in mikrotik.
 
2frogs
Forum Veteran
Forum Veteran
Posts: 713
Joined: Fri Dec 03, 2010 1:38 am

Re: need a script for heartbeat

Mon Apr 12, 2021 4:45 pm

Using Fetch command in a schedule should do the trick.

https://wiki.mikrotik.com/wiki/Manual:System/Scheduler
https://wiki.mikrotik.com/wiki/Manual:Tools/Fetch

Code should be as simple as:
/tool Fetch url="provided.unique.url" mode=http

Who is online

Users browsing this forum: No registered users and 20 guests