The crontab requires php-cli or php-cgi installed. You will also need SSH access to your server in order to set it up. Let’s create a new crontab with the below commands.
vi /etc/cron.d/matomo-archive
and then add the lines:
Cron is a job scheduler, which helps to set the list of tasks, supposed to be executed periodically. However, if you are a Drupal developer and wondering how to add the drupal cron to the cron tab, here is the way.