cancel
Showing results for 
Search instead for 
Did you mean: 

How to install crontab on Stm32mp1? Inside starter package rfs, I found this file /etc/cron.daily/apt.apt-compat.cron.daily but crontab is not present: root@stm32mp1:~# crontab -sh: crontab: not found so the file will never be executed, am i correct?

Lmoio.1
Senior

I can't install crontab with apt-get install

apt-get install cron
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cron

What do you suggest?

1 ACCEPTED SOLUTION

Accepted Solutions
Jean-Marc B
ST Employee

Hi @Lmoio.1​ 

The package to download is cronie:

root@stm32mp1:~# apt-get update
root@stm32mp1:~# apt-get install cronie
root@stm32mp1:~# which crontab
/usr/bin/crontab

Best regards,

--JM

View solution in original post

2 REPLIES 2
Jean-Marc B
ST Employee

Hi @Lmoio.1​ 

The package to download is cronie:

root@stm32mp1:~# apt-get update
root@stm32mp1:~# apt-get install cronie
root@stm32mp1:~# which crontab
/usr/bin/crontab

Best regards,

--JM

Hi Jean-Marc,

thanks it worked!