Задание крона, переставшее работать на Ubuntu VPS

и можно использовать несколько каналов и властей, и исключить вещи с grep-v, получить нечувствительность к регистру с grep-i и т.д.

т.е.: хвост-100f/var/log/messages | grep-V ACPI | grep-i ata

начните выслеживать 100 строк от конца, и продолжайте выслеживать, сначала исключите любые строки с ACPI, затем покажите строки с ata, ATA или любым соединением тех.

Другой удобный является опциями ABC, для строк После, Прежде, и Контекст (строки прежде и после).

0
задан 17 February 2012 в 07:21
1 ответ

The timestamp is probably your best clue here. The @hourly jobs run on the hour so it won't be any job with that shorthand or any job in the /etc/cron.hourly/ directory.

The job that is failing runs at 9 minutes past and at 39 minutes past each hour. If I remember correctly, that's when /etc/cron.d/php5 runs.

Most failing cron jobs will also output an error message that would normally be mailed to you. If you are not getting the output from cron jobs mailed to you then check /etc/aliases and /var/spool/mail/root.

1
ответ дан 4 December 2019 в 21:55

Теги

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