GNU/Linux >> LINUX-Kenntnisse >  >> Ubuntu

Crontab-Fehler „kein Crontab für Root“?

wenn ich crontab -e schreibe Befehl im Terminal,

Ich erhalte diese Fehlermeldung:

no crontab for root - using an empty one 888

Ich weiß nicht, was „888“ bedeutet?

Konfigurationsdatei von crontab /etc/crontab:

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
58 * * * * root cd / && run-parts --report /etc/cron.hourly
52 0 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
46 0 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
9 5 28 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#

Bitte helfen Sie mir.

Danke.

Akzeptierte Antwort:

Ihr crontab Editor wurde auf ed umgestellt . Um ed zu beenden , drücken Sie Q und anschließend Enter . Dadurch wird ed beendet Herausgeber.

Wenn Sie Ihre crontab ändern möchten Editor zurück zu nano verwenden:

sudo select-editor

Dies könnte auch hilfreich sein:

EDITOR=nano crontab -e

Ubuntu
  1. Verwenden Sie Anacron für eine bessere Crontab

  2. Fehler nach dem Sudo-ing von „sudo:Must Be Setuid Root“?

  3. Virtualbox 5.1.2 für Ubuntu 14.04.5?

  4. „Bad id for repo:My Repo, byte =2“ yum update error

  5. Fehler beim Installieren des R-Pakets für Linux

So beheben Sie den Fehler „ng-Befehl nicht gefunden“ für node.js @angular/cli [7 Lösungen]

So aktivieren Sie WordPress Debug für die Fehlerbehebung

50 erstaunliche Linux Crontab-Befehle für die SysAdmins

Lösung für den Ubuntu-Startfehler „No such partition“

Bash ignoriert Fehler für einen bestimmten Befehl

Fehler Argumentliste zu lang für rm-, cp-, mv-Befehle