8 ms·
> Running `crontab -e` as a non-root user will edit that user's crontab, and running it as root will edit the system crontab. Running it as root will edit the
by rascul 2y ago
> Running `crontab -e` as a non-root user will edit that user's crontab, and running it as root will edit the system crontab.
Running it as root will edit the root user's crontab (in /var/spool/cron), which is separate from the system crontab (/etc/crontab), which has a slightly different format.
- dizhn 2y agoAlpine executes system cron jobs (daily, weekly etc) from root's crontab. That simple way of taking care of it makes me smile every time I see it.