what is cronie?


What Do We Do?

cronie helps you manage your cron jobs and various other scripts. Every wonder if your corn job is working? ora backup is finished? If you have multiple cron jobs that run on many different machines, it can be very hard to track all of them. Sure there are emails you can setup to monitor them. But its hard to track them, specially when there are multiple tasks you conduct. We give you and easy dashboard that can show you that status of the all your cron jobs at one glance and notify you when something goes wrong.

How does this work?

Its pretty simple! when you add a monitor we create a code snippet for you to insert at the end of your cron command. All you have to do is paste it in and montor your execution.

control


How Do I add a monitor?

A monitor can be added from add montior on the nav bar

How Do I delete a monitor?

A monitor can be deleted from the dashboard using the minus sign Please be advised that deleting the monitor will also delete all logs and that this action cannot be reversed.

How Do I pause a monitor?

Pausing the monitor will disable all the notifications for the monitor. You can pause a monitor for as long as your like. To pause a monitor click on the play/pause button on the dash board. While paused a monitor will not be checked for activity.

How Do I edit a monitor?

Pausing the monitor will disable all the notifications for the monitor. You can pause a monitor for as long as your like. To pause a monitor click on the play/pause button on the dash board. While paused a monitor will not be checked for activity.

What are notifications?

Notifications are how you can receive alerts as to how we contact you if we need your attention. There are several ways you get notified

  • good old email
  • Telegram messanger
  • Web Hooks
  • Slack
  • Weekly Emails
You can control notifications in two ways. play/pause notifications for a monitor from the dashboard. This will mute/unmute all notificatons for the monitor. You can also fine tune each notification by turning them of on the individual monitor page.

snippets


What are snippets?

the snippets we provide is ready to use code. All you to do is add our code to your project with little to no modification and monitor the execution of your project.

curl


what is curl?

curl is used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets,

How do I install curl?

curl comes pre-installed on most systems as it is a very common tool used by many processes. In case your system does not have it installed.

Windows

Assuming you got it from https://curl.haxx.se/download.html, just unzip it wherever you want. No need to install. If you are going to use SSL, you need to download the OpenSSL DLLs, available from curl's website.

ubuntu/debian base systems

sudo apt install curl -y

centos/fedora based systems

sudo yum install curl -y

cron


what is cron?

Cron is the name of program that enables unix users to execute commands or scripts (groups of commands) automatically at a specified time/date. It is normally used for sys admin commands, like makewhatis, which builds a search database for the man -k command, or for running a backup script, but can be used for anything. A common use for it today is connecting to the internet and downloading your email.

What are cron Jobs?

cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks. For example, you can set a cron job to delete temporary files every week to conserve your disk space. Some programs, such as Drupal, may even require you to set up a cron job to perform certain functions. Scripts executed as a cron job are typically used to modify files or databases. However, they can perform other tasks that do not modify data on the server, like sending out email notifications.

How do I use cron?

linux based systems

crontab -e
TXhis will open up the crontab editor. Can input your tasks wher and save it. Once saved, the tsk will be executed at the time your specify.

notifications


setting up notifications

when adding a monitor you give use the cron job and the timezone the cronjob will exectue in. We calculate the time your cron job is expected to fire. There is 30 minute grace period for the job to complete (long running jobs). If after 30 minutes we are not notified of completion, the monitor will be marked as overdue and depending on your plan and settings you will be notified. Please note that scripts do not have a set time interval. So no notification is provided when a script is executed.

email notifications

when marked overdue we will send a notification to the registered address as long as the you have turned on notifications of the monitor on the monitors setup page. you can do so by logging in → selecting the monitor from the dash → using the play/pause to turn on email notifications.

telegram notifications

before receiving telegram notifications you must setup your telegram id. This can be obtained for going to your telegram app → starting a new chat → searching for @cronie_bot. Once a chat is start enter /start into chat dialog. We will provide your for telegram id. Enter this into the telegram section of your accounts page. You must also make sure your telegram notificaitons are turned on.

You can do so by logging in → selecting the monitor from the dash → using the play/pause to turn on telegram notificatios.

webhooks

Webhooks are a great way to execute an action or update a database when the cron job does not complete. If you provided us with a webhook URL on the accounts page. We will drop a json payload onto the url you specified with the following info.
                            {
                                "lastUpdate": "Thursday, June 14th, 2018 9:38:34 PM",
                                "nextExpedted": "Friday, June 15th, 2018 12:00:00 AM",
                                "overDueTime": true,
                                "timeStampLastUpdate": 1529026714,
                                "timeStampNextExpedted": 1529035200,
                                "timerId": "5b17bde0bb5dda271f4aef21"
                              }
                    

You must also make sure your webhook notificaitons are turned on. You can do so by logging in → selecting the monitor from the dash → using the play/pause to turn on webhook notificatios.

slack notifications

before receiving slack notification you must setup slack. This can be done by navigating your accounts page and clicking the add to slack button. Once you grant us permission. We will sent to notification to the channel you provided. You must also make sure your slack notificaitons are turned on.

You can do so by logging in → selecting the monitor from the dash → using the play/pause to turn on webhook notificatios.