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

Karl Auer kauer at biplane.com.au
Thu Apr 24 11:13:32 UTC 2025


On Thu, 2025-04-24 at 21:00 +1000, Eyal Lebedinsky wrote:
> If "This is a crontab entry" then there is no username in the
> entries. The whole /var/spool/cron/UserName is for this one user.

Correct - this is a user crontab.

> Is this a mashup of 'mkdir /home/ubuntu/data/log/' and
> '>/home/ubuntu/data/log/adfd_cleanup.log 2>&1'?
> Accidental copy of two lines from a console test?
> Not even '>>'?

I can't say what caused it. This is a real-world example of a screwup,
but not one of mine :-)

But what does the crontab entry do, every day at 01:00?

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