DEV Community

Manuel Castellin
Manuel Castellin

Posted on

2 1

What is the coolest automation you created with "Crontab"?

Calling all Linux enthusiasts...

crontab is such a simple tool, but people always find creative ways to create πŸ”₯ awesome πŸ”₯ things with simple tools

Sending mails, running programs, cleaning up files, restore connections, there's a lot you can do by scheduling a shell script

Mine is not that awesome really...

...but it saved me a lot of time over the years. I have a scheduled shell script that cleans up my stale Docker containers and volumes every day. This way my laptop is always tidy and I don't have to hunt disk space hogs 😎 cool enough for me!

What's yours?

Top comments (5)

Collapse
 
garthvador profile image
Quentin Caillaud β€’
45 11 * * 1-5 /bin/notify-send '🍜 time !!!' -u critical

A reminder, every week day at 11:45 AM, that it's time to go get my ramens if I do not want to wait to long before getting a seat in the restaurant... Very important !

Collapse
 
rmaurodev profile image
Ricardo β€’

critial hahahahhaa love it!

Collapse
 
mcastellin profile image
Manuel Castellin β€’

Ahaha I feel you buddy! Being a few minutes early at the restaurant makes it in the "top 3 productivity hacks" list!! πŸ‘ Thanks for sharing this one!

Collapse
 
mte90 profile image
Daniele Scasciafratte β€’

I have some scripts that download the last youtube video from various channels as mp3, that execute pypi.org/project/packt/ and github.com/Mte90/ExtStoreStats

Collapse
 
mcastellin profile image
Manuel Castellin β€’

Awesome idea to streamline your micro-learning!! I like that 🀩

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay