Posts

Showing posts with the label Mac

Restoring Cron Job Functionality in MacOS

I have used cron jobs to do database backups and other maintenance on servers I have run at home, previously on versions of Ubuntu and Linux Mint, and currently on MacOS. Some change that happened to MacOS between the "Mojave" and "Big Sur" versions broke cron jobs that had worked for years. A cron job that would create a database restore query was suddenly creating an empty file on its daily scheduled run. The job that was supposed to update my SSL certificate when it was due for renewal never succeeded in updating it. As I searched for a solution to this problem, I came across multiple recommendations for two different items, and the combination of the two of them has resulted in my cron jobs working again. Make sure the full path is specified for all programs and script files executed, both within the cron job itself, and within the script files that it calls. This is probably the true solution, of the two items. Make sure that cron has "Full Disk ...

Fixing ERR_CONNECTION_REFUSED errors attempting to connect to my site after changes

After upgrading(?) my Mac to MacOS Mojave, I found the hard disk access speed intolerable. Boot ups would take several minutes, and everything took far too long. I finally switched my Mac to boot up off of an external USB Solid State Drive (SSD). After cloning my hard drive to the SSD and switching it to be the default boot drive, the old(ish) Mac is once again pleasantly fast and usable. However, after this change, I found that, whenever I attempted to connect to my site, any browser I tried to connect to it through would give a message about being unable to connect to the server. One specific message shown in Google Chrome was ERR_CONNECTION_REFUSED The first part of the solution came from a Stack Overflow answer by adang . In a terminal, I ran sudo vi /etc/apache2/httpd.conf I then uncommented the following lines by removing the pound ("#") at the start of the line containing them: LoadModule authz_core_module libexec/apache2/mod_authz_core.s...

Visiting CareLink Site on OS X Mavericks

Image
Here is a tip for people who fall into the same small category as myself. If you use a Medtronic insulin pump, use the CareLink site to store your pump history, use a Mac, and are running OS X Mavericks for a time - short , I hope - after I write this post, you will run into the problem that I ran into when I first attempted to upload my pump data after upgrading to Mavericks. You will get an error page stating, Unfortunately, the configuration of your PC or web browser is not compatible with our standard system requirements. This is because the only OS X versions supported are "MacOSX 10.5 (Intel), MacOSX 10.6/10.7/10.8". Unfortunately, Mavericks is version 10.9. Unlike the logic for the browser, which recognized that my Firefox 24.0 met the Firefox 5 requirement, the OS check does not appear to allow for future versions. The workaround that I am using, for now, is to use the Firefox User Agent Switcher plugin. After installing the plugin and restarting Firefo...