Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4896

Beginners • log file for cron

$
0
0
I am trying to find the crontab log file but with no luck.
Google tells me many others have the same question but no good answers. It must be quite a niche subject.

The man pages for cron says
  • the default is to log the start of all jobs.
  • the configuration is controlled by the file "/etc/default/cron"
I set

Code:

  EXTRA_OPTS="-L 1"
in the file "/etc/default/cron"
but I can't see what difference it makes, but the fact that the file exists encourages me to keep looking for a log file.

I see an answer on here saying to enable logging in the file

Code:

    /etc/rsyslog.conf
but that file doesn't exist on a default installation of Raspberry Pi OS.

Statistics: Posted by X69 — Mon May 06, 2024 3:21 pm



Viewing all articles
Browse latest Browse all 4896

Trending Articles