Rules - After updating / saving user not working I'm using Rules module to execute a python script after a user has been created / updated. This python script retrieves information of users from the database and feeds a datapushing / realtime data engine.

Everything works perfect, BUT, the script is executing before saving.

Update regarding 'script is executing before saving'

When I get the information from the DB with the python script is the one I have before saving, the only workaround is saving twice. One to make changes, to second one to 'really' update. I've noticed this because I need to save twice to get real information. 

I found this issue: http://drupal.org/node/430274

I thought on running the script in Drupal's User Core but good practices kind of don't let me do it ( for now :) )

Update

I created a Module with this Info

&lt;?php
// $Id: infographic.module

/**
* @file
* Custom functions for this site.
*/
function infographic_user_insert(&amp;$edit, $account, $category) {
    exec('python GenerateInfographic.py');
}

function infographic_user_update(&amp;$edit, $account, $category) {
    exec('python GenerateInfographic.py');
}


Any Suggestion!?

Thanks!
You can use hook_user_insert and hook_user_update to execute your script, which is called after the user has been saved to the database.

Hooks should be implemented in a module. If you are new to module development, the Drupal documentation describes this very well: http://drupal.org/documentation