How to enable logging for cron on Linux

preview_player
Показать описание
If you're looking to troubleshoot cron jobs, the best way might be to enable logging. Jack Wallen shows you how.

List of Commands:

sudo systemctl restart rsyslog

Рекомендации по теме
Комментарии
Автор

Excellent tip. Thanks was looking for this and it was not included in most of the other vids. Logging is so useful for verification and troubleshooting.

danielcram
Автор

I tried this in my raspberry pi, but the nano file turns empty. Should I be doing something different?

portfedh