Push notification in background

I need to give a GET in a given URL in a certain period of time with the application closes, or in the background.