Hi,
I've write a servie that use ecore_timer_add to make tasks periodically.
Eina_Bool my_func(void *data EINA_UNUSED) { dlog_print(DLOG_INFO, LOG_TAG, "my_func called... %d", (unsigned)time(NULL)); return EINA_TRUE; } bool service_app_create(void *data) { ecore_timer_loop_add(5, my_func, NULL); return true; }
but when service is started tha call of "my_func" stops after 10 seconds.. why?