axelhahn, to foss

Cronjobs are quite basic stuff. Mostly you create “simple, stupid” jobs without output … that just run. Or should.

How do you check if a job was successful? Just trust them? Watching each log? On each of your systems?

How do you detect if the last job execution was successful but does not run anymore?

My simple approach:

For 20 years I add a wrapper in front of my commands.

Docs: https://www.axel-hahn.de/docs/cronwrapper/index.html

Source: https://github.com/axelhahn/cronwrapper

#foss #freesoftware #Bash #cron #linux

cronstatus.sh shows the status of all local cronjobs or details of a single cronjob.

crepels, to linux

✨New post in the systemd by example series!✨

This time, I'm taking a look at systemd timers.⏱️

Compared to adding entries to crontab, timers are more powerful and flexible, and in my opinion a lot simpler.

https://seb.jambor.dev/posts/systemd-by-example-part-5-timers/

#systemd #linux #timers #cron

nigelharpur, to linux
@nigelharpur@musicians.today avatar

So, added a Cron job to restart php-fpm every 48hrs.
Server runs and (multisite). So a lot of php going on.
Couldn't find how to tell php-fpm, "Fill yer boots! But you only get a total of 6Gb of the 16Gb system RAM ok?"
Lots of individual per process limit settings but can't find the broad brush. Left as it was it just grabs more and more and more memory, crossing the 50% threshold after a week or so.
My bodge works! But am I a dang fool!?

nigelharpur, to linux
@nigelharpur@musicians.today avatar

Lovely is helping daddy learn about setting up jobs from in . She's making sure he doesn't give himself a bad back by crouching over to read the webpage!

Brettseggel, to brettspiele German

Freunde angegrauter @brettspiele !

"Runde 20 - Von Krabblern und Cronjuwelen" ist da!

YouTube ohne Bild, dafür ordentlich auf die Ohren: Wir haben #Cron zu Gast und sprechen über die Ameisen von #Myrmes, Musik & Filme & vieles mehr.

Na, juckt's Euch schon?

Hier reinhören:
https://brettseggel.podcaster.de/podcasts/runde-20-von-krabblern-und-cronjuwelen/

image/jpeg

donwatkins, to linux
@donwatkins@fosstodon.org avatar

Scheduling tasks with cron means programs can run but you don’t have to stay up late. https://www.both.org/?p=3685 #linux #cron #sysadmin

sanjaymenon, to Notion
@sanjaymenon@mastodon.social avatar

🪦 Cron is now Notion Calendar 📅

https://www.notion.so/product/calendar 👀

https://cron.com 🙁

It’s about time.

#cron #notion

gestalter, to Notion German
@gestalter@mstdn.social avatar

tough day for home screens.
#cron #notion #calendar #app

voltagex, to debian
@voltagex@aus.social avatar

/usr/sbin/sendmail is hardcoded (at compile-time) in #Debian's #cron. Sigh.

CppGuy, to random

Is @BBCRadio4 #BBCRadio4 still live-streamed anywhere? It used to be at

http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m3u8

but that now returns error code 410 GONE.

I used to use the live stream to time-shift programmes so that I could listen to them in the car.

I specifically don't want to use the #BBCSounds app because I can't be fiddling with an app while I'm driving. (Besides, I use my phone for navigation).

I know that some programmes are available for downloading, but not all of them, and frequently not the ones I want to listen to.

I don't want to listen to the radio live, because it always seems to be Woman's Hour or The Archers, neither of which interests me.

CppGuy,

@anathema_device @BBCRadio4

Yeah, the station names are confusing. BBC4 is the closest TV station to Radio 4, with a lot of good documentaries (though most of them are repeats nowadays) and other intelligent programmes.

Thanks, but I'm afraid that Web page doesn't quite hit the spot. With the old live stream, I could set up a #cron job to run #ffmpeg and just download a slab of sound when I wanted it. I could then transcode that to MP3 and play it in the car. I had scripts set up to automate most of it. With the Web page, the player is embedded, and so I can't do any of that -- it's much more interactive, and I can't be attending to it in the middle of a work day.

bobiko, to linux Polish
@bobiko@pol.social avatar

jest jakas graficzna wersja crontaba?

#linux #rpi #cron

stefan, to macos
@stefan@social.stefanberger.net avatar

I am pretty impressed by .

Look into it for encrypted backup and restore via a variety of target protocols.

FYI even the latest includes for scheduling tasks. You just need to give it (/usr/sbin/cron) file system access permissions to be able to execute a script. (Cmd+shift+G after clicking the + in the security settings).

danny, to linux

When you misunderstand the crontab syntax and your server does something every minute of the first hour of the day, rather than on the hour 🥴

#cron #linux

glacasa, to random French
@glacasa@dotnet.social avatar

Les sauvegardes automatiques fonctionnent !

Je suis conscient que ça a pas l'air fou vu comme ça, mais c'était un des derniers gros point qui me manquait avant de pouvoir lancer de la prod.

Il me reste la partie légale (https://wiki.chatons.org/doku.php/heberger/points_juridiques - ça va être le plus relou je sens) et trouver quelqu'un en backup si jamais un jour je peux plus m'occuper du serveur

glacasa,
@glacasa@dotnet.social avatar

Comment j'ai configuré mes sauvegardes :

https://docs.l09.fr/sauvegardes.html

S'il y a des vrais admin Linux qui me lisent, je suis curieux de leur retour.
Ça va ce que je fais, ou c'est n'importe quoi ? 😁

#adminsys #admin #linux #cron #backups

rockylinux, to Wyze
@rockylinux@fosstodon.org avatar

Automation is a key trick for making your work minutes count, buying yourself more play minutes. Or, for the nerdiest among us, scheduling your play minutes for maximum effect. Whatever your purpose, let's schedule Linux processes using 'cron' and 'crontab'.

The crontab is a list where users add automated tasks and jobs, and has many options, from basic to advanced, that can simplify things even further. https://docs.rockylinux.org/guides/automation/cron_jobs_howto/ #tutorialtuesday #cron #automation #linuxtips #documentation

video/mp4

schmic, to random German
@schmic@mastodon.social avatar

Langes Wochenende, Tag 1: Heute ist Systempflege angesagt.

☑️ Server-Update auf Ubuntu 22.04-LTS, von 20.xx 🫣

Next up $HOME endlich an anknoten/nutzen ...

schmic,
@schmic@mastodon.social avatar

Und mit #cron automatisiert ...

Zeit für'n Belohnungsbierchen. 🍻

joel, (edited ) to random
@joel@fosstodon.org avatar

All this time, #Cron on my raspberry pi has not worked at all. Thankfully I got it working after months wondering why my #FreshRSS instance never updated in the background

raymondlesley, to random

Milestone #3 achieved:

Hot Tub fully automated.. running jobs via #cron on a @Raspberry_Pi to start the filter pump in the morning and in the evening stop again, calculate how long to heat overnight and set the program

https://github.com/raymondlesley/HotTubTimeMachine

governa, to random
@governa@fosstodon.org avatar
to3k, to linux Polish
@blog.tomaszdunia.pl avatar

🇵🇱 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: @to3k

https://blog.tomaszdunia.pl/yunohost-backup-eng/

pybites, to programming
@pybites@fosstodon.org avatar

Maybe relevant for y'all here ... in our latest YouTube video we show you how you can backup your Mastodon posts using Python + GitHub Actions:

https://youtu.be/NvGiPifbtl4

#python #github #mastodon #tools #cron

adamghill, to random

I currently use rq with https://github.com/rq/django-rq and https://django-rq-scheduler.readthedocs.io/. But, just tested huey's Django integration (https://huey.readthedocs.io/en/latest/contrib.html#setting-things-up) and it was very easy to start out. Anyone used both and have a strong opinion?

#django #cron

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines