On Tue, Apr 20, 2021 at 12:54:06PM +0000, brainf...@posteo.net wrote:
> when i run a cronjob the output from the job is stored and mailed when the
> job finishes. where is this output stored? can i read it while the job is
> running?

There might be a temp file or there might not.  It's best not to poke
around the internals of system utilities without a dire need.

Just focus on your actual goal: you have a cron job that takes a long
time to run, and you want to see the output in progress.  Just use tee(1)
to save a copy of the output in a file of your choice.

a b c d e   /my/job 2>&1 | tee /var/tmp/my-job-output

Bear in mind that output from /my/job may be buffered.

Reply via email to