home.social

#crontab — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #crontab, aggregated by home.social.

  1. 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.

  2. 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.

    blablalinux.be/2026/04/08/stra

  3. 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:​

  4. Почему я написал Ёбифай: свой планировщик для фоновых задач на Python

    Но очень быстро оказывается, что настоящая сложность не в самих задачах, а в инфраструктуре вокруг них. Сначала хочется просто запускать код в фоне. Потом появляются ретраи, таймауты, логирование, контроль выполнения. Ещё чуть позже всплывают совсем неприятные вопросы: что делать с пропущенными запусками после рестарта, как не дублировать задачи и где вообще должна жить логика планирования. В какой-то момент становится очевидно:

    habr.com/ru/articles/1018646/

    #scheduler #cron #crontab #cronjob #background_job #background_jobs #asyncio

  5. Как мы устали настраивать Crontab и сделали свой cron-manager

    В какой-то момент cron-заданий становится много, появляются сложные зависимости между скриптами, когда результат выполнение одного важен для начала работы другого. Балансировать такую историю доводится сис.админу, DevOps'у или разработчику. С этого и начинается наш рассказ.

    habr.com/ru/articles/1003006/

    #cron #crontab #cronjob #cronjob #продукт #продуктовая_разработка

  6. 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

  7. 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

  8. 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

  9. 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

  10. 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

  11. 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

  12. 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

  13. 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.

    #Linux #RunBSD #crontab

  14. 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.

  15. 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.

  16. JSON just popped into my head:

    ecma-international.org/wp-cont

    This PDF, and the website (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.

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

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

    habr.com/ru/articles/912014/

    #argocd #devops #gitops #cron #crontab #автоматизация #cd #continuous_deployment

  18. Today I hate fragmentation, and incompatible files across different versions of

  19. Today I hate #InnoDB fragmentation, and incompatible #crontab files across different versions of #cron

  20. Today I hate #InnoDB fragmentation, and incompatible #crontab files across different versions of #cron

  21. Today I hate #InnoDB fragmentation, and incompatible #crontab files across different versions of #cron

  22. Today I hate #InnoDB fragmentation, and incompatible #crontab files across different versions of #cron

  23. I was configuring a daily crontab task and I couldn't resist:

    20 16 * * *

    xD

    #crontab

  24. #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
    done

    quand 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 :

    mastodon.social/@Dominix/11413

  25. 🐧 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 crontab.cronhub.io/

    #linux #crontab

  26. Wieso hat die Welt eigentlich keine coole kleine #GUI für die #crontab erfunden?

    So nach 40 Jahren wär's fei scho mol Zeit, gell?

    (Oder wieso gibt es nix Gnome Scheduler mäßiges mehr?)

    #cron #linux

  27. @dside Чтобы не пропустить заранее известную дату (например, продлить домен или сертификат), прекрасно справится #crontab.

  28. 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 links with all the listed and we provide.

    wiki.techsaviours.org/en/extra

    Still missing links:
    -
    -
    -
    -
    -
    -
    - ( )
    -
    -
    -
    -
    -
    -
    -
    -
    -

  29. How do you create a 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.

  30. 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.

    #linux #tips #cron #CronJobs #crontab #DevEx