#AskFedi: is there a script / way to automate the restart of dnsmasq every 24 hours… on a VPS that runs on Debian 12?

(Funny how this would have sounded like a foreign language to me a mere year ago) 😆

Update: THANK YOU for the cronjob recommendation. Now looking for a tutorial that’s easy to follow for a newbie like me 😅

I really appreciate all the advice, YOU’RE THE BEST 🏆

#MySoCalledSudoLife

@elena a simple cron job should do
@mensrea thank you! Do you have recommendations about tutorials for newbies?
The Beginner's Guide to Linux Crontab: Automating Tasks

In the world of Linux system administration and development, repetitive tasks—like backups, log rotation, software updates, or script execution—can quickly become tedious. Manually running these tasks daily, weekly, or monthly wastes time and increases the risk of human error. Enter **crontab** (short for cron table), a powerful utility that lets you schedule tasks to run automatically at predefined intervals. Whether you’re a developer automating script runs, a sysadmin managing server maintenance, or a hobbyist streamlining your workflow, mastering crontab is a must. This guide will break down crontab fundamentals, syntax, usage, common use cases, troubleshooting, and best practices to help you automate tasks efficiently.

DotLinux.net
@mensrea thank youuuuuu 🙏