GCC Loneworker is an app that allows you to use your mobile device as a GPS tracker. It reports location to your own server with selected time intervals.
The app uses open source OsmAnd protocol to communicate to a self hosted server.
Settings are accessed by rapid clicking the Lone Worker text nat the top right of the screen.
NOTE: Continued use of GPS running in the background can dramatically decrease battery life.