Showing posts with label Alberta. Show all posts
Showing posts with label Alberta. Show all posts

Wednesday, July 13, 2022

Using Powershell to send an email alert when a file type is found

A while back I had the privilege of working with a brilliant dev; Andrew Nesbit in helping sort out some processes for the Horizon ILS and how it would work with the Metro Library Card System (melibraries.ca).  I helped him with some of the Horizon work with how the different library systems work together more specifically SirsiDynix Symphony, polaris and Horizon.  

One issue that came out that I never got around to fixing till now was the creation of the .FAIL file that is generated if the server has a problem or there is some sort of incompatibility between library systems, such as pin, city name, password length, etc.  There is also an issue with the service stopping without notice; which also creates a .FAIL file as shown below.

Metro FAIL file.  Dead Process



Metro FAIL file.  FAILED User


So I decided to finally write a powershell script to send me an alert when this happens.  So it looks in the directory where the Me Server saves it's logs; and I have powershell checking that directory as shown below.  The script uses powershell to check for a .FAIL file in the log directory and then sends a send-mail message.  I know that this is depreciated and I will have to update this sooner then later; but it will work for the purpose I need for now.

Friday, July 02, 2010

Governments and Software

I came across an interesting issue yesterday. Did you know that if you wanted to apply for a position in the Government or a government agency like Alberta Health Services you have to be on a computer running Internet Explorer and Windows. The requested file format for resumes is Word Document Format ".doc". This in my opinion is just wrong for three reasons.

1) Not everyone can afford Microsoft Office and Not Everyone has it.  With the crackdown on pirated software and the cost involved for purchasing a retail license of Microsoft Office is $150.00.  That is alot of money.

2) Not everyone has Windows. There are a lot of people out their that don't use Windows. Windows may have the most market share for operating systems but it should be a requirement to apply for a job online not with Today's Technology.

3) Internet Explorer.  Internet Explorer doesn't comply with web standards and restricting people to an insecure, obsolete browser is not safe and is bad technology policy.

I believe Governments should be using open source software such as Ubuntu, Suse, Fedeora, and other varieties of Linux and BSD/Unix technologies.  For one reason it keeps the cost down, you don't have the huge licensing issues of running Windows or Mac OS. With everything being moved to server (cloud) based applications, all you need is a browser. Most of the Free Operating Systems come with Open Office Pre-Installed so you don't have to purchase Microsoft Office and 99% of the time Open Office is compatible with Microsoft Office Formats.

Now I'm not being Anti-Microsoft here, there are some things Windows will have to be used for, such as some cad programs, graphics, etc, but for word processing and spread sheets Open Office should be able to handle most if not all the work load.  As for the thing that set off this little blog post of mine the Job Submission for Alberta Health Services, I will be trying to get in touch with someone to get that fixed.  They are discriminating against anyone that doesn't use a Windows based machine and that's just wrong.

Posted via email from The OptionKey Blog

Updating your godaddy certs during the G2 intermediate hierarchy to the TLS Root CA - R1 hierarchy

  If you use godaddy TLS certificates you should be aware of some changes during the transition from the G2 certificates to the new R1 Certi...