Trixology

WeatherCat => WeatherCat General Discussion => Topic started by: jg on January 07, 2018, 12:34:03 PM

Title: Custom Alerts Stopped Working...
Post by: jg on January 07, 2018, 12:34:03 PM
Every few months my custom alerts stop working and I have to reboot weathercat, but the monthly/annual records are still being sent (which rules out a problem with the mail server/queue).  Anyone else having this problem?  Most of mine are for wind speeds, rainfall and exceeded temperature thresholds. I'm running 2.44 on a Mac Mini OS 10.11.6
Title: How long do you run WeatherCat? (Re: Custom Alerts Stopped Working...)
Post by: elagache on January 08, 2018, 12:02:09 AM
Dear jg and WeatherCat troubleshooters,

Every few months my custom alerts stop working and I have to reboot weathercat, but the monthly/annual records are still being sent (which rules out a problem with the mail server/queue).  Anyone else having this problem? 

Every few months!?!??  You might have the record for the longest running WeatherCat processes!  Congratulations on that.  Alas, that means we probably can't help with this problem.  These days I have to reboot usually less than once a week because I run out of free memory.

Anyone else have a thought?

Cheers, Edouard
Title: Re: Custom Alerts Stopped Working...
Post by: jg on January 08, 2018, 02:54:37 PM
Is there an easy way to automate the reboot process of WeatherCat (i.e, every Sunday at 1AM or something)?
Title: Re: Custom Alerts Stopped Working...
Post by: xairbusdriver on January 08, 2018, 03:54:50 PM
If you really want to do that, you could create a launch daemon (basically a plist used by the OS). There are several GUI-based apps that make that a very simple task. My favorite one is LaunchControl.app (http://www.soma-zone.com/LaunchControl). This site (https://alternativeto.net/software/launchcontrol/) has over a dozen other alternatives.

It may be a bit more difficult since WC needs to 'see' the Quit command twice. However, the Manual suggests a very simple AppleScript that can handle that for you and that the launch daemon can initiate.

I'm not sure why you would want to limit this operation to just WC. You already have the ability to schedule a complete Shut Down and Start up process with the Energy Saver System Prefs. Using that process would eliminate 'problems' from not only WC but any and all other apps (as well as System tasks) that may be creating memory leaks, etc.

I think the majority of WC users operate the app on computers running 24/7. Many of us use dedicated, older Macs and only Quit WC when the OS requires an update. I think the better solution is to determine the 'illness' rather than 'treating the symptoms'.  :) [tup]