fhamborg / news-please

news-please - an integrated web crawler and information extractor for news that just works
Apache License 2.0
1.99k stars 414 forks source link

news-please at background #231

Closed noerarief23 closed 1 year ago

noerarief23 commented 2 years ago

Mandatory

Describe your question Any Recomendation to running news-please at background? nohup?

Versions (please complete the following information):

Intent (optional; we'll use this info to prioritize upcoming tasks to work on)

krishna-perugupalli commented 1 year ago

I tried nohup and it worked like charm. The only problem I found was, Newsplease creates a bunch of processes and it's difficult to stop. So a better way is to start and kill dynamically using a script by figuring out the current running pid's of "newsplease"

fhamborg commented 1 year ago

yea i would also recommend one of the following