A puzzle! Crontab and mkdir and files, oh my!

Karl Auer kauer at biplane.com.au
Thu Apr 24 07:49:05 UTC 2025


On Thu, 2025-04-24 at 09:34 +0200, Ralf Mardorf via ubuntu-users wrote:
> On Thu, 2025-04-24 at 09:31 +0200, Ralf Mardorf wrote:
> > In the terminal you maybe run "mkdir /home/ubuntu/data/log/
> 
> without "> /dev/null 2>&1", I have no explanation for the redirection
> "2>&1" in the crontab.

If you think about what the original author is probably trying to do
with the WHOLE crontab entry, you may get further...

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au, he/him)
http://www.biplane.com.au/kauer





More information about the ubuntu-users mailing list