Posts tagged 'python'

Monitoring python cron jobs with Babis

Over at MozMeao we are using APScheduler to schedule the execution of periodic tasks, like Django management tasks to clear sessions or to fetch new job listings for Mozilla Careers website.

A couple of services provide monitoring of cron job execution including HealthChecks.io and DeadManSnitch. The idea is that you ping a URL after the successful run of the cron job. If the service does not receive a ping within a predefined time window then it triggers notifications to let you know.

With shell scripts this is as simple as running curl after your command:

$ ./manage.py clearsessions && curl ...

January in Athens Python Users Meetup

On 24th of January we had the first Python meetup for 2017 as always in Hackerspace.gr. Based on our typical setup we started with two talks:

  • Myself, I kicked off the meetup with a Micropython on ESP8266 talk. I started with quick intros on Micropython and the ESP8266, moved to using the RERL over Serial with minicom and ended spectacularly with blinking neopixels.

  • Spyros followed talking about Nameco based microservices and his Tweetmark project to save tweets for later reading and do it in style. Moved on with a live demo and successfully fixed the obligatory demo bug defeating ...

>