“Führen Sie Cron Job als spezifischer Benutzer aus” Code-Antworten

Führen Sie Cron Job als spezifischer Benutzer aus

# Crontab Running as a Specifi User
# Through Command Line, you use the User's Actual crontab like this:
sudo crontab -u username -e
Stupid Salmon

Führen Sie Cron Job als spezifischer Benutzer aus

# Crontab Running as a Specific User
# Only /etc/crontab and the files in /etc/cron.d/ have a username field. In that file you can do this:
1 1 * * * username /path/to/your/script.sh
Stupid Salmon

Ähnliche Antworten wie “Führen Sie Cron Job als spezifischer Benutzer aus”

Fragen ähnlich wie “Führen Sie Cron Job als spezifischer Benutzer aus”

Weitere verwandte Antworten zu “Führen Sie Cron Job als spezifischer Benutzer aus” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen