crontab on my Rpi, i did that as sudo, so when i login with !root user and i type crontab -l i do not see any entry. Obviously if i switch to superuser and i check my crontab list, the entry is there. How does it works? I mean, "both" crontab entries are executed ? It depends if the command you are setting as entry requires super user privileges? Thanks
one is probably user crontab and the other is the system crontab defined somewhere in /etc/cron.d? Did you consider switching to systemd units?
What is systemd units? The init system handling scheduled jobs/tasks?
Yes both are applied. It was developed this way as Linux was born in a time when many people logged onto the same server. So one individual might want a cron job for a personal script. But the system needs a seperate list for sysadmin tasks
Yes, systemd is the init system. I guess Martin meant systemd timers, which run scheduled tasks.
Обсуждают сегодня