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

Karl Auer kauer at biplane.com.au
Thu Apr 24 13:17:25 UTC 2025


On Thu, 2025-04-24 at 22:05 +1000, Eyal Lebedinsky wrote:
> So many assumptions needed ...

Well, not to solve this puzzle.

> However, appending '/home/ubuntu/data/log/adfd_cleanup.log' bothers
> 'find',
> and the content of 'mkdir' is now one line complaining that
> 	find: paths must precede expression:
> `/home/ubuntu/data/log/adfd_cleanup.log'

Yes! That is what this crontab entry actually does. Plops an error
message into a file called "mkdir" in the crontab user's home diretory.

> [OT See what you made me do Karl??? Remember the ANZACs. Will you
> vote next weekend?]

Lol :-) Already voted!

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