Tech x Talent
Published in

Tech x Talent

Cron To Go Review — A Heroku Scheduler Alternative

Cron To Go Scheduler Dashboard

What are Crons?

What is Cron To Go Scheduler?

Setting up the Environment

Adding Cron To Go Scheduler using Heroku UI

  1. Go to the Heroku Dashboard and select any one of the existing projects, if there is no existing project, create one
Heroku Dashboard- Image by author
Heroku Overview Dashboard- Image by author
Heroku Resources Dashboard- Image by author
Heroku add-ons Datastores- Image by author
Cron To Go Scheduler add-on- Image by author
Cron To Go Scheduler Order Form- Image by author
Cron To Go Scheduler Dashboard- Image by author

Adding Cron To Go Scheduler using Heroku CLI

  1. Login to your Heroku account using the command and enter the credentials such as email and the password on the terminal
$ heroku login -i
$ heroku addons:create crontogo -a APP_NAME
Cron To Go Scheduler Dashboard- Image by author
$ heroku addons:open crontogo -a APP_NAME
Command to access the Cron To Go dashboard- Image by author

How to Create Jobs?

Job creation window on Cron To Go Scheduler- image by author

How can one Monitor and check the Logs of the application?

$ heroku logs -t -a <APP_NAME> -d crontogo

Application Features

$ node <SCRIPT_NAME> <METHOD_NAME>

Removing the Add-on

$ heroku addons:destroy crontogo

What are Webhooks?

  • Job Execution Failed — occurs whenever a job execution fails to complete.
  • Job Execution Started — occurs whenever a job execution is started.
  • Job Execution Succeeded — occurs whenever a job execution completes successfully.
Webhook in Cron To Go Scheduler dashboard- Image by author
Secret key while creating a Webhook- image by author

Receiving Webhooks

Why do we need this?

  • One-Click Migration: It provides easy import of jobs from Heroku Scheduler, Advanced Scheduler, and Temporizes Scheduler for a smooth migration.
  • Flexible Scheduling: It supports the Unix cron format so that you can define schedules with a 60 seconds precision allowing you to run your jobs run multiple times a day, on specific days and times of the week or of the month.
  • No Code Platform: No code changes are required to add, edit or remove a scheduled job.
  • Different Time-Zones Feature: You can schedule your jobs in different time zones.
  • Notifications and Webhooks: You can receive notifications directly to your email or via webhooks.

Summary

Conclusions

--

--

Insights at the intersection of tech and talent.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Swapnil Kant

Hi, I am Swapnil Kant, an avid programmer, and a full-time learner! One who is highly interested in Algorithm Optimization and Development