HACKER Q&A
📣 greyface-

What's in your crontab?


Do you still have a personal crontab in 2025? What sorts of jobs does it contain? What cron daemon runs it? Where is it hosted?


  👤 stop50 Accepted Answer ✓
Not a real crontab. Only systemd timers. One for updating the AUR repos i use. One for updating my most used container base images. And lastly one for downloading my os and flatpak package updates, so that i can run `pacman -Su` and `flatpak update --no-pull` without waiting for slow downloads.

👤 roscas
Crontab only has scripts for programs that do not have log rotation capability.

👤 Bender
- 3 gratuitous arps every minute

- 'chronyc makestep'

- Overwrite the console with ASCII art.

- Refresh DNS cache for a few hundred domains in Unbound DNS.

- fstrim once a week.

- Custom log rotate and truncate.

- RSnapshot

- Gateway check, arp deletions if gateway fail-over occurs.

Some of that on workstations, some on servers, some on both.


👤 roosgit
# Runs the DB backup script on Thu at 22:00 -- I download the database backup for a few websites that get new data every week. I do this in case my host bans my account.

# Runs the IP change check on Mon - Sun at 09:00, 10:30, 12:00, 20:00 -- If the power goes out or the router reboots I get a new IP. On the server I use fail2ban and if I log into the admin panel I might get banned for making too many requests. So my IP needs to be "blessed".

# Runs Letsencrypt certificate expiry check on Sundays at 11:00 and 18:00 -- I still have a server where I update the certificates by hand.

# Runs the "daily" backup -- Just rsync

# Download Godaddy auction data every day at 19:00 -- I don't actively do this anymore but I used to check, based on certain criteria, for domains that were about to expire.

# Download the sellers.json on the 1st of every month at 19:00 -- I use this to collect data on websites that appear and disappear from the Mediavine and Adthrive sellers.json


👤 369548684892826
My DIY internet radio alarm clock uses cron!