Üblich sind heute dafür ded. Files unter /etc/cron.d/ - die /etc/crontab sollte man idealerweise in Ruhe lassen, da da auch oft die Paketverwaltung ihre Finger im Spiel hat und man dann ggf. bei Updates auf crond oder sonstigen Updates, welche die Maintainer des Systems "für sinnvoll erachten" manuelle Nacharbeit notwendig ist. Selten, aber kommt vor.Die Angabe eines Users ist nur in der systemweiten /etc/crontab möglich.
Tut er doch nicht. Er will es ja als user1 starten.Sag doch mal, warum musst du in der crontab von root ein Programm des user1 mit root-Rechten starten?
Nein, es geht nicht.in root mitcrontab -ein der Zeile den user angeben als den es ausgeführt wird geht nicht ?
/etc/crontab oder im Verzeichnis /etc/crontab.d/ die Datei user1 erzeugen und da dann deine gewünschte Zeile hinein.We use cookies and similar technologies to provide the best experience on our website. You can choose which purposes you consent to. Your choice applies across websites using the same consent framework.
Below you can select which purposes you consent to. Purpose 1 is required for basic website functionality.
Cookies, device or similar online identifiers together with other information can be stored or read on your device for the purposes presented to you.
Ads can be shown to you based on the content you are viewing, the app you are using, your approximate location, or your device type.
A profile can be built about you and your interests to show you personalised ads that are relevant to you.
Personalised ads can be shown to you based on a profile about you.
A profile can be built about you and your interests to show you personalised content that is relevant to you.
Personalised content can be shown to you based on a profile about you.
The performance and effectiveness of ads that you see or interact with can be measured.
The performance and effectiveness of content that you see or interact with can be measured.
Market research can be used to learn more about the audiences who visit sites/apps and view ads.
Your data can be used to improve existing systems and software, and to develop new products.
Content can be selected based on limited data, such as the content you are viewing or the device you are using.
Below is a list of all technology vendors that may process your data. You can enable or disable each vendor individually.