start crawler loop when server is started #34

Merged
bilal.catic merged 2 commits from start-crawler-loop-with-server into master 2019-09-27 11:22:18 +02:00
bilal.catic commented 2019-09-26 19:49:02 +02:00 (Migrated from gitlab.com)

When server is started, crawler interval is started.

  • If next interval is ready to start, but previous crawling was not finished, interval is skipped
  • Interval can be set using CRAWLER_INTERVAL environment variable
  • Crawler can be manually started with npm run crawl
When server is started, crawler interval is started. * If next interval is ready to start, but previous crawling was not finished, interval is skipped * Interval can be set using CRAWLER_INTERVAL environment variable * Crawler can be manually started with `npm run crawl`
bilal.catic commented 2019-09-26 19:50:00 +02:00 (Migrated from gitlab.com)

changed the description

changed the description
bilal.catic commented 2019-09-26 23:55:49 +02:00 (Migrated from gitlab.com)

added 1 commit

  • c5a72048 - add ENV variable to control crawler execution

Compare with previous version

added 1 commit <ul><li>c5a72048 - add ENV variable to control crawler execution</li></ul> [Compare with previous version](/saburly/marketalarm/web/merge_requests/34/diffs?diff_id=56576057&start_sha=2e92f961ff75473cf3fc1dc897d1bb2896d0c54f)
bilal.catic commented 2019-09-27 11:22:18 +02:00 (Migrated from gitlab.com)

merged

merged
bilal.catic commented 2019-09-27 11:22:19 +02:00 (Migrated from gitlab.com)

mentioned in commit ad873d61e7

mentioned in commit ad873d61e70dd588005a85d63adb96a3e28ed3a6
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: senaduka/old-web#34