To do that, the function must be declared as a MENU_CALLBACK. This create a path on Drupal router system that you can use to call the function using a HTTP request. Att, Pablo Lacerda de Miranda Engenheiro de Software Ci&T - Campinas pablolmiranda at gmail.com +55 11 8701-1086