crontab command not found

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

Introduction

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

crontab: command not found

or when using sudo you get the following error message

sudo: crontab: command not found

Solutions to crontab: command not found

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

In Ubuntu crontab is provided by bcron package.

bcron is:

Bruce cron system is designed with secure operations in mind. To do this, the system is divided into several separate programs, each responsible for a separate task, with strictly controlled communications between them.

The user interface is a drop-in replacement for similar systems, such as vixie-cron, but the internals differ greatly.

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

sudo apt-get -y install bcron

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

You can also use apt command to install bcron.

sudo apt -y install bcron

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

sudo aptitude install bcron

Summary

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