In short: I would use Python.
more: I tried PHP in cli mode, I experienced a lot of memory leaks , of course, because of bad PHP libraries or PHP libraries that never were, although for another thing, than they die quickly in web request mode (for example, I'm suspicious of PDO).
In the python world, I recently saw a piece of code from shinken , this is a good nagios, rewriting like python daemons, very smart. See http://www.shinken-monitoring.org/the-global-architecture/ and http://www.shinken-monitoring.org/wiki/official/development-hackingcode . As a monitoring tool, you will surely find there very good ideas for some demon reflecting tasks.
Now, can I make an offer? Why not use Shinken or Centreon as a scheduler for data collection tasks? (And maybe soon that I hope Centeron is currently running with a shinken engine instead of a nagios engine)? This can be useful for detecting changes in external data, outputting in samples, etc.
Then for the tasks that need to be performed (data sampling, data conversion, data storage, etc.), this is an ETL job. One of the good open source tools is Talend ETL ( Java ). There are some planning and monitoring tools for Talend , but not open source (sort-of-open-source-where-you-must-pay-a-license). But adding an external scheduler such as Nagios for tasks should be easy (I hope). You will need to verify that memcached is available as a storage engine for Talend ETL or your plugin code.
So this means that instead of language you can think of tools . Or not, depending on the complexity you can assume, each tool adds its own complexity. However, if you want to rebuild everything from scratch, python is fast efficient.