#linux#php#memory#cron#admins So, added a Cron job to restart php-fpm every 48hrs.
Server runs #nextcloud and #wordpress (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!?
Lovely is helping daddy learn about setting up #cron jobs from #CommandLine in #Linux. She's making sure he doesn't give himself a bad back by crouching over to read the #stackexchange webpage!
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.
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.
Look into it for encrypted backup and restore via a variety of target protocols.
FYI even the latest #macOS includes #cron 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).
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'.
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
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