clockwork command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
clockwork: command not found
or when using sudo you get the following error message
sudo: clockwork: command not found
Solutions to clockwork: command not found
How To Fix clockwork: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu clockwork is provided by ruby-clockwork package.
ruby-clockwork is:
Clockwork is a cron replacement. It runs as a lightweight, long-running Ruby process which sits alongside your web processes (Mongrel/Thin) and your worker processes (DJ/Resque/Minion/Stalker) to schedule recurring work at particular times or dates.
For example, refreshing feeds on an hourly basis, or send reminder emails on a nightly basis, or generating invoices once a month on the 1st.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-clockwork
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-clockwork.
sudo apt -y install ruby-clockwork
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-clockwork
Summary
In this tutorial we learn how to fix clockwork command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.