Example pattern for running a crawler process