We’ve mentioned Murphy’s Law, haven’t we? Its impeccable application to the software development world and how it never seems to fail?
This project was no exception.
When we discovered issues within an application causing vital cron jobs to fail, it didn’t take us long to find the root of the issue itself. What would take much longer would be the process of completing the work that would apply the solution; four months longer, to be exact.
Enter Python: the language that, while not simple, can accomplish so much more than others in much fewer lines of code.
We created a small script with it that facilitated the maintenance of the integrity of the application, a complete four months saved.
Although the team on the project was comprised of primarily PHP experts, their combined experience enabled Python as an option. Simply put, the script monitors these background-processes like a guard. If it discovers an issue, it brings that issue to our attention via a convenient email. Furthermore, if the issue is critical, it calls a WebHook which uses TWILIO API to send an SMS to both our team and our client.
Solutions such as these are not only viable and valuable to us but to our client. After all, no one wants to hear that a project meant to take two weeks would take eight times that length.
0 Comments