Задания cron - можете ли вы запросить среду, чтобы узнать, когда задание будет выполняться следующим?

nginx-release-centos-6-0.el6.ngx.noarch.rpm - это не пакет nginx, это пакет репозитория nginx. При его установке будет создан репозиторий nginx. Итак, вам нужна еще одна задача для установки настоящего nginx:

yum: name=nginx state=latest

Вы можете проверить описание пакета:

rpm -qip nginx-release-centos-6-0.el6.ngx.noarch.rpm

...

Резюме: конфигурация репозитория nginx и открытые ключи pgp

0
15.02.2018, 22:48
1 ответ

No sé si se ajusta exactamente a tus necesidades, pero puedes traducir crontabarchivos en inglés, consulta crontab2english

   Usage:
     % crontab2english [-f] files...
   Or:
     % cat files... | crontab2english

   If you do just this:
     % crontab2english
   then it's the same as crontab -l | crontab2english

   Example output:
   % crontab2english | less
   Setting env var MAILTO to hulahoops@polygon.int

   Command: (line 2)
     Run: /bin/csh -c 'perl ~/thang.pl | mail -s hujambo root'
     At: 8:10am on    the 15th of    every month

   Command: (line 5)
     Run: df -k
     At: 5:40am    every day

   Command: (line 7)
     Run: ls -l /tmp
     At: 6:50am    every Monday

   Or with the -f ("f" for filter) switch, it just adds comments
   to the input file:

   % crontab2english -f | less
   # My happy crontab file
   MAILTO=hulahoops@polygon.int
   10 8 15 * * /bin/csh -c 'perl ~/thang.pl | mail -s hujambo root'
   #>  At: 8:10am on    the 15th of    every month


   40 5 * * * df -k
   #>  At: 5:40am    every day

   50 6 * * 1 ls -l /tmp
   #>  At: 6:50am    every Monday
0
28.01.2020, 04:30

Теги

Похожие вопросы