mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.2K
active users

#cron

1 post1 participant0 posts today

New blog post!

Backups are an easy task to put off but WOW do you feel the pain when a file is mistakenly deleted or a storage device fails!

I use a combination of ZFS tools + bash scripting + cron(8) to perform an automated daily backup of the contents of my home directory to the home server (both machines are running FreeBSD):

dwarmstrong.org/automate-zfs-b

www.dwarmstrong.orgZFS Snapshots and Backups Part 3: Backups You Don't Have to Think About are Backups that Get Done ☯ Daniel Wayne ArmstrongLibre all the things
#ZFS#Bash#Cron

The Complete Guide to Installing, Configuring and Operating Plex Media Server on Ubuntu Server (12/14)

📺 The Scheduler can be used to automate any task. (Beginner-Friendly!)

This video shows you how to use a crontab generator to set a schedule for the task you want to execute and then copy the output and paste it into Ubuntu's cron table.
youtu.be/3NV--V6Fa4s

youtu.be- YouTubeEnjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

This video was helpful in getting me started on writing my own bash script to automate the process of creating ZFS snapshots and doing backups to my home server.

[Video starts at 9:45 where the scripting begins]...

youtu.be/_4wJMUgZloQ?si=JPy19G

youtu.be- YouTubeEnjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
#ZFS#Bash#Scripting

Laravel - Crear comando artisan para terminal y añadirlo a un cron

En esta ocasión vemos cómo crear un comando artisan de laravel (para terminal) enfocado en regenerar un caché de estadísticas que se renovarán cada 30 minutos y acelerar así la carga del sitio web reduciendo consultas.

Posteriormente lo añadimos a una tarea cron para automatizar la regeneración de estadísticas.

youtu.be/SPDt7zukAUg

youtu.be- YouTubeEnjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

Blöd gelaufen. Rolle gerade #prometheus Kram via #puppet aus und hab einen #cron übersehen, der deaktiviert war und durch Puppet wieder aktiv wurde. War ein #rsync mit —delete 🙄 und nun fehlen über 400 Dateien .
Ein Mix aus „ist egal und kann neu erstellt werden“, „hmm, blöd aber ok“ und „Shit, da muss man vermutlich den Kunden um Hilfe bitte“. Na mal kucken was das Management da morgen macht.

Jetzt machen wir erstmal 2x täglich #backups

Today is cron’s 50th birthday. But it’s a common misconception that it means cron is 50 years old.

In reality, for a very short period of time, someone accidentally wrote cron’s birthday expression with a * in the first column, which resulted in a birthday per minute until they realised their mistake.

Зачем нужен ArgoCD, если можно поставить cron с git pull?

Инфраструктура как код, GitOps, автоматизация — все эти слова давно перестали быть модными терминами и стали частью повседневной жизни инженера. Но вместе с этим появляются и вопросы: а всегда ли нужно внедрять тяжелые инструменты? Например, зачем нужен ArgoCD, если можно просто настроить cron с git pull на нужный сервер? Попробуем разобраться, в чём разница между этими подходами, какие задачи они решают, где их границы применимости и, главное, в каких случаях cron — это «дешево и сердито», а когда он становится «дешево, но больно».

habr.com/ru/articles/912014/

ХабрЗачем нужен ArgoCD, если можно поставить cron с git pull?Инфраструктура как код, GitOps, автоматизация — все эти слова давно перестали быть модными терминами и стали частью повседневной жизни инженера. Но вместе с этим появляются и вопросы: а всегда ли...