#crontab — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #crontab, aggregated by home.social.
-
Done! Project deploy a self-hosted Vaultwarden instance complete.
It was easier than I had thought it thought it would be. The only bugs I dealt with came from Incus, and they were easy to solve. And was my first time using docker on a remote server 🥳😂.
After the instance was deployed, I wrote a bash script to backup my data ... used crontab to automate it.
#selfhosted #linux #incus #vaultwarden #password #security #docker #container #bash #crontab #deploy #devops #sysadmin
-
Maintenance Proxmox & Docker : comment je suis devenu spectateur de mon infrastructure
Découvrez comment j'ai automatisé la maintenance de mon infrastructure Proxmox et Docker. De la gestion redondante des scripts entre les nœuds au pilotage à distance de WordPress et Gitea, je vous explique comment mes clusters sont devenus autonomes et résilients, me permettant de passer de l'administration active à la simple supervision.https://blablalinux.be/2026/04/08/strategie-automatisation-globale/
-
Always the same in #SelfHosting ...
People: I forget to renew the (Let´s Encrypt) certificates ... mimimi
Me: my best buddy #crontab does that for me :floof_peek: -
Почему я написал Ёбифай: свой планировщик для фоновых задач на Python
Но очень быстро оказывается, что настоящая сложность не в самих задачах, а в инфраструктуре вокруг них. Сначала хочется просто запускать код в фоне. Потом появляются ретраи, таймауты, логирование, контроль выполнения. Ещё чуть позже всплывают совсем неприятные вопросы: что делать с пропущенными запусками после рестарта, как не дублировать задачи и где вообще должна жить логика планирования. В какой-то момент становится очевидно:
https://habr.com/ru/articles/1018646/
#scheduler #cron #crontab #cronjob #background_job #background_jobs #asyncio
-
Как мы устали настраивать Crontab и сделали свой cron-manager
В какой-то момент cron-заданий становится много, появляются сложные зависимости между скриптами, когда результат выполнение одного важен для начала работы другого. Балансировать такую историю доводится сис.админу, DevOps'у или разработчику. С этого и начинается наш рассказ.
https://habr.com/ru/articles/1003006/
#cron #crontab #cronjob #cronjob #продукт #продуктовая_разработка
-
Selfhosting is nice, and it comes with a price to pay.
For me ? It's time, and I have plenty to give away, given that's my passion.
For my SO ? The unbearable noise of rattling disk needles to write on their very precious platters (especially now, thank you AI bullcrap)
The solution ? A nice cron-based compromise, and I feel like someone could get inspired by this :)
# Stop qbittorrent - weekday evenings at 17:00 Mon-Fri
0 17 * * 1-5 cd /opt/services/qbittorrent && docker compose stop# Stop qbittorrent - weekends at 8:00 Sat-Sun
0 8 * * 6,0 cd /opt/services/qbittorrent && docker compose stop# Start qbittorrent - every day at 23:00
0 23 * * * cd /opt/services/qbittorrent && docker compose start#selfhosting #selfhosted #homelab #torrent #qbittorrent #harddrive #disk #nas #so #ai #cron #crontab #scheduling #linux #opensource #docker #dockercompose
-
Selfhosting is nice, and it comes with a price to pay.
For me ? It's time, and I have plenty to give away, given that's my passion.
For my SO ? The unbearable noise of rattling disk needles to write on their very precious platters (especially now, thank you AI bullcrap)
The solution ? A nice cron-based compromise, and I feel like someone could get inspired by this :)
# Stop qbittorrent - weekday evenings at 17:00 Mon-Fri
0 17 * * 1-5 cd /opt/services/qbittorrent && docker compose stop# Stop qbittorrent - weekends at 8:00 Sat-Sun
0 8 * * 6,0 cd /opt/services/qbittorrent && docker compose stop# Start qbittorrent - every day at 23:00
0 23 * * * cd /opt/services/qbittorrent && docker compose start#selfhosting #selfhosted #homelab #torrent #qbittorrent #harddrive #disk #nas #so #ai #cron #crontab #scheduling #linux #opensource #docker #dockercompose
-
Selfhosting is nice, and it comes with a price to pay.
For me ? It's time, and I have plenty to give away, given that's my passion.
For my SO ? The unbearable noise of rattling disk needles to write on their very precious platters (especially now, thank you AI bullcrap)
The solution ? A nice cron-based compromise, and I feel like someone could get inspired by this :)
# Stop qbittorrent - weekday evenings at 17:00 Mon-Fri
0 17 * * 1-5 cd /opt/services/qbittorrent && docker compose stop# Stop qbittorrent - weekends at 8:00 Sat-Sun
0 8 * * 6,0 cd /opt/services/qbittorrent && docker compose stop# Start qbittorrent - every day at 23:00
0 23 * * * cd /opt/services/qbittorrent && docker compose start#selfhosting #selfhosted #homelab #torrent #qbittorrent #harddrive #disk #nas #so #ai #cron #crontab #scheduling #linux #opensource #docker #dockercompose
-
Selfhosting is nice, and it comes with a price to pay.
For me ? It's time, and I have plenty to give away, given that's my passion.
For my SO ? The unbearable noise of rattling disk needles to write on their very precious platters (especially now, thank you AI bullcrap)
The solution ? A nice cron-based compromise, and I feel like someone could get inspired by this :)
# Stop qbittorrent - weekday evenings at 17:00 Mon-Fri
0 17 * * 1-5 cd /opt/services/qbittorrent && docker compose stop# Stop qbittorrent - weekends at 8:00 Sat-Sun
0 8 * * 6,0 cd /opt/services/qbittorrent && docker compose stop# Start qbittorrent - every day at 23:00
0 23 * * * cd /opt/services/qbittorrent && docker compose start#selfhosting #selfhosted #homelab #torrent #qbittorrent #harddrive #disk #nas #so #ai #cron #crontab #scheduling #linux #opensource #docker #dockercompose
-
Selfhosting is nice, and it comes with a price to pay.
For me ? It's time, and I have plenty to give away, given that's my passion.
For my SO ? The unbearable noise of rattling disk needles to write on their very precious platters (especially now, thank you AI bullcrap)
The solution ? A nice cron-based compromise, and I feel like someone could get inspired by this :)
# Stop qbittorrent - weekday evenings at 17:00 Mon-Fri
0 17 * * 1-5 cd /opt/services/qbittorrent && docker compose stop# Stop qbittorrent - weekends at 8:00 Sat-Sun
0 8 * * 6,0 cd /opt/services/qbittorrent && docker compose stop# Start qbittorrent - every day at 23:00
0 23 * * * cd /opt/services/qbittorrent && docker compose start#selfhosting #selfhosted #homelab #torrent #qbittorrent #harddrive #disk #nas #so #ai #cron #crontab #scheduling #linux #opensource #docker #dockercompose
-
I recently had to do a complete wipe and re-install of my #wpsd #hamradio #hotspot.
Most of the settings were retained by wpsd's backup/restore functions, but my #crontab had to be recreated from scratch.Luckily I had blogged some of it last year:
https://blog.k3can.us/posts/2025/mar/2025-03-13_automatinganam/
#amateurradio -
I recently had to do a complete wipe and re-install of my #wpsd #hamradio #hotspot.
Most of the settings were retained by wpsd's backup/restore functions, but my #crontab had to be recreated from scratch.Luckily I had blogged some of it last year:
https://blog.k3can.us/posts/2025/mar/2025-03-13_automatinganam/
#amateurradio -
Sometimes the only emails I see for days are the daily rsnapshot crontab output emails.
I'm totally ok with this.
In fact, this is preferred.
-
-
-
Yeah meine zweite Festplatte ist heute angekommen !
/dev/sdb 983379700 400782140 5325 43% /mnt/data
/dev/sdc1 983378676 307661060 6256 33% /mnt/data2
Jetzt nur noch mit einem #rsync job täglich #crontab alles von einer Platte auf die andere Platte schaufeln und ich habe wenigstens schonmal ein bisschen #Ausfallsicherheit #backup #Datensicherung für meinen #HomeServer realisiert.
Parallel mache mit "duplicati" ein verschlüsseltes Backup des Betriebssystems in mein #ondrive da habe ich noch 1 TB, warum nicht nutzen wenn man es eh schon hat.
-
Yeah meine zweite Festplatte ist heute angekommen !
/dev/sdb 983379700 400782140 5325 43% /mnt/data
/dev/sdc1 983378676 307661060 6256 33% /mnt/data2
Jetzt nur noch mit einem #rsync job täglich #crontab alles von einer Platte auf die andere Platte schaufeln und ich habe wenigstens schonmal ein bisschen #Ausfallsicherheit #backup #Datensicherung für meinen #HomeServer realisiert.
Parallel mache mit "duplicati" ein verschlüsseltes Backup des Betriebssystems in mein #ondrive da habe ich noch 1 TB, warum nicht nutzen wenn man es eh schon hat.
-
@gary_alderson Indeed. Remember to enable the actualize script through #crontab: https://freshrss.github.io/FreshRSS/en/admins/08_FeedUpdates.html
-
🔍 / #software / #library / #python
#Crontab module for reading and writing crontab files and accessing the system #cron automatically and simply using a direct API.
🐱🔗 https://laravista.altervista.org/CatLink/links/325
#catlink #SoftwareLibrary #SoftwareLibraryPython #PythonCrontab
-
JSON just popped into my head:
https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf
This PDF, and the website (https://www.json.org/json-en.html) have syntax diagrams for each bit, but I don't see any formal grammar definition being used, which is surprising.
I've not checked what YAML does, but it's just interesting to note.
Heck, even #crontab's config file has BNF in the man page... or used to, I've checked lately.
-
Зачем нужен ArgoCD, если можно поставить cron с git pull?
Инфраструктура как код, GitOps, автоматизация — все эти слова давно перестали быть модными терминами и стали частью повседневной жизни инженера. Но вместе с этим появляются и вопросы: а всегда ли нужно внедрять тяжелые инструменты? Например, зачем нужен ArgoCD, если можно просто настроить cron с git pull на нужный сервер? Попробуем разобраться, в чём разница между этими подходами, какие задачи они решают, где их границы применимости и, главное, в каких случаях cron — это «дешево и сердито», а когда он становится «дешево, но больно».
https://habr.com/ru/articles/912014/
#argocd #devops #gitops #cron #crontab #автоматизация #cd #continuous_deployment
-
-
#question #bash #crontab #mysql :
j'ai un script qui fait
for db in database1 database2 database3;
do
echo $db
if [[ "$db" != "database2" ]]; then
echo "dumping database $db"
mysqldump -u $USER -p$PASSWORD --databases $db > $db.sql
fi
donequand je le lance directement, pas de souci, ça fonctionne. mais en tâche #cron, rien, que dalle, que pouic, mon cul dans les orties.
et je ne vois pas pourquoi.Une idée ?
Edit : La solution à mon problème ici par @Dominix :
-
🐧 Que ce soit en local ou sur votre serveur, Crontab permet de programmer des scripts et actions qui se feront à intervalle régulier sur votre machine. Très pratique, même pour des choses assez basique. Ça fait des années que j'utilise Linux au quotidien mais paradoxalement j'ai commencé à m'emparer de crontab réellement il y a assez peu de temps.
Bref comme les intervalles sont une galère à indiquer, ce site est bien pratique pour les encoder https://crontab.cronhub.io/ -
Y otra entrada en la #Wiki que me faltaba: https://docs.lynze.net/books/linux/page/cron
Apuntes sobre #cron
#Linux #crontab -
OpenBSD crond / crontab set_range() heap underflow - CVE-2024-43688
https://www.supernetworks.org/CVE-2024-43688/openbsd-cron-heap-underflow.txt
https://vulnerability.circl.lu/cve/CVE-2024-43688
#vulnerability #cron #crontab #infosec #crond #openbsd #unix
-
Need a pet sitter for your aquarium while you’re away? Create an automatic feeder with a Raspberry Pi Zero. https://www.makerspace-online.com/fish-food/ #automation #feeder #RaspberryPi #ZeroW #network #CLI #CommandLine #crontab #projects #makers
-
A new "Your own extras" is available:
Check the new "Donation list" to support your favourite free and open source software.
It includes all the #donation links with all the listed #tutorials and #services we provide.https://wiki.techsaviours.org/en/extras/donation_list
Still missing links:
- #lvm
- #luks
- #networkmanager
- #zram
- #sddm
- #firewalld
- #cronie ( #crontab )
- #rsync
- #AdGuardHome
- #redis
- #docker
- #LibreWolf
- #arkenfox
- #CustomNewTabPage
- #ProxySwitchOmega
- #Icecraven -
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – backup [ENG 🇬🇧]
#archivist #backup #borgbackup #cron #crontab #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost
Autor: @[email protected]
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – kopia zapasowa
#archivist #automatyzacja #backup #borgbackup #cron #crontab #kluczessh #kopiazapasowa #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost #zadaniacron
Autor: @[email protected]
-
In case you needed, in Mac OS, there is no such thing as crontab logs (and no syslog either).
Crontab logs its stuff to
`/var/mail/$whateverYourUserNameIs`so you can
`tail -100f /var/mail/volkan`
(replace `volkan` with your mac user) to get the cron job execution results.
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – kopia zapasowa
#archivist #automatyzacja #backup #borgbackup #cron #crontab #kluczessh #kopiazapasowa #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost #zadaniacron
Autor: @[email protected]
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – kopia zapasowa
#archivist #automatyzacja #backup #borgbackup #cron #crontab #kluczessh #kopiazapasowa #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost #zadaniacron
Autor: @[email protected]
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – kopia zapasowa
#archivist #automatyzacja #backup #borgbackup #cron #crontab #kluczessh #kopiazapasowa #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost #zadaniacron
Autor: @[email protected]
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – kopia zapasowa
#archivist #automatyzacja #backup #borgbackup #cron #crontab #kluczessh #kopiazapasowa #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost #zadaniacron
Autor: @[email protected]
-
-
How do you create a #cron job for a specific user?
a) Log in as that user and type crontab -e to open the cron editor.
b) Open the crontab file in the user home directory and add what you want to add.
c) As root, type crontab -e username.
d) As root, type crontab -u username -e.#Linux #quiz #crontab #rhel #redhat #ex200 #gnulinux #rhcsa #LinuxQuiz
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – backup [ENG 🇬🇧]
#archivist #backup #borgbackup #cron #crontab #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost
Autor: @[email protected]
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – backup [ENG 🇬🇧]
#archivist #backup #borgbackup #cron #crontab #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost
Autor: @[email protected]
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – backup [ENG 🇬🇧]
#archivist #backup #borgbackup #cron #crontab #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost
Autor: @[email protected]
-
🇵🇱 Nowy wpis na blogu! / 🇬🇧 New blog post!
YunoHost – backup [ENG 🇬🇧]
#archivist #backup #borgbackup #cron #crontab #linux #nano #opensource #restic #scp #selfhosted #ssh #sshkeys #vps #yunohost
Autor: @[email protected]