Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crontab entry to ensure crawler restarts if something goes wrong #7

Open
drevicko opened this issue Apr 6, 2017 · 0 comments
Open

Comments

@drevicko
Copy link
Member

drevicko commented Apr 6, 2017

To ensure continuous crawling, here's a linux crontab entry that would check every 5 minutes to see if it's running:

*/5 * * * * campaigns_twitter_crawler/start_project_twitter_crawler.sh start >> campaigns_twitter_crawler/cronlog.txt

This entry expects campaigns_twitter_crawler to be a subfolder of the users home folder. If this works well, we should add it somewhere, either in the readme or as a comment in the respective launch scripts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant