forked from ckan/ckan-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(harvester): Configure automatic CRON job for CKAN Harvester #25
- Implement CRON job setup for automatic execution of the CKAN Harvester. This update enables the CKAN Harvester to run automatically at scheduled intervals, ensuring continuous and efficient harvesting of FAIR datapoints without manual input. The documentation in gdi-userportal-docs has been enhanced to include instructions and findings related to the CRON Harvester setup Closes #25
- Loading branch information
Hans-Chrstian
committed
Feb 13, 2024
1 parent
f19b435
commit 41fc91e
Showing
4 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SPDX-FileCopyrightText: Stichting Health-RI | ||
# | ||
# SPDX-License-Identifier: AGPL-3.0-only | ||
|
||
[program:ckan_gather_consumer] | ||
|
||
; Full Path to executable, should be path to virtural environment, | ||
; Full path to config file too. | ||
|
||
command=/usr/bin/ckan --config=/srv/app/ckan.ini harvester gather-consumer | ||
numprocs=1 | ||
stdout_logfile=/var/log/ckan/std/gather_consumer.log | ||
stderr_logfile=/var/log/ckan/std/gather_consumer.log | ||
autostart=true | ||
autorestart=true | ||
startsecs=10 | ||
|
||
[program:ckan_fetch_consumer] | ||
|
||
# ; Full Path to executable, should be path to virtural environment, | ||
# ; Full path to config file too. | ||
|
||
command=/usr/bin/ckan --config=/srv/app/ckan.ini harvester fetch-consumer | ||
|
||
numprocs=1 | ||
stdout_logfile=/var/log/ckan/std/fetch_consumer.log | ||
stderr_logfile=/var/log/ckan/std/fetch_consumer.log | ||
autostart=true | ||
autorestart=true | ||
startsecs=10 |