#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 sorry to bother you, but does this sound legit?

0 10 * * 1-5 systemctl restart dnsmasq

(I want it to run on weekdays at 10am)

I LOVED the explanation you sent, cronjobs feel like magic! sooo cool

@elena looks right from here
@elena no, wait: 0 0 10 * * 1-5
@mensrea thank you!