Anyone know where crond buffers job output? As it get's mailed in the end it has to be somewhere…
Asking for a job which should have finished at 4 in the morning.

· · Web · 1 · 3 · 1

Found it: This is linux, so everything is a fd, right? Solution is to just fetch the processes stdout.

Find the PID of the cron job (pgrep to the rescue), and

$ cat /proc/<pid>/fd/1

This thread has been brought to you by
- think about a problem for 30 mins
- toot about it
- almost immediately think of the answer

Sign in to participate in the conversation – a Fediverse instance for & by the Chaos community