“Altere o editor de Crontab” Respostas de código

Edite Crontab diariamente

crontab -e
@monthly root /usr/bin/ntpdate > /dev/null 2>&1
service crond restart
DreamCoder

Altere o editor de Crontab

#run command in terminal:
select-editor

#Then select an option:
Select an editor.  To change later, run 'select-editor'.
  1. /bin/nano        <---- easiest
  2. /usr/bin/vim.tiny
  3. /bin/ed

Choose 1-3 [1]:
Fun Bee

Como alterar o editor de Crontab padrão

export EDITOR=/bin/nano
export VISUAL=nano
Hungry Hoopoe

Edite Crontab diariamente

Newer versions use /etc/anacrontab. By default, cron.daily scripts are run at 4:02. Editing /etc/crontab will modify that time.

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
DreamCoder

Respostas semelhantes a “Altere o editor de Crontab”

Perguntas semelhantes a “Altere o editor de Crontab”

Mais respostas relacionadas para “Altere o editor de Crontab” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código