cronic command not found

In this troubleshooting guide we learn how to fix cronic command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

cronic: command not found

or when using sudo you get the following error message

sudo: cronic: command not found

Solutions to cronic: command not found

How To Fix cronic: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cronic is provided by cronic package.

cronic is:

Cronic is a small shim shell script for wrapping cron jobs so that cron only sends email when an error has occurred. Cronic defines an error as any non-trace error output or a non-zero result code.

To fix this problem, we can install more using the command below.

sudo apt-get -y install cronic

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install cronic.

sudo apt -y install cronic

Or if you have aptitude installed you can use the following command.

sudo aptitude install cronic

Summary

In this tutorial we learn how to fix cronic command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.