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?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-20 1:12 AM
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?
Solved! Go to Solution.
Labels:
- Labels:
-
STM32MP15 Lines
This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-20 1:21 AM
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
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-20 1:21 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-10-20 2:19 AM
Hi Jean-Marc,
thanks it worked!
