-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimport-cron
7 lines (7 loc) · 2.62 KB
/
import-cron
1
2
3
4
5
6
7
# must be ended with a new line "LF" (Unix) and not "CRLF" (Windows)
0 1 * * WED /usr/local/bin/php /var/www/html/modules/EasyAdmin/data/scripts/task.php --task 'OaiPmhHarvester\Job\Harvest' --user-id 1 --server-url 'localhost' --base-path '/' -j --args '{"repository_name": "Steunpunt Wetenschappelijke Collecties","endpoint": "https://blendeff.be/ca/admin/service.php/OAI/qdc_collecties/request","set_spec": 1,"item_set_id": "","has_err": 0,"metadata_prefix": "oai_dcterms","resource_type": "item_sets","filters": {"whitelist": [],"blacklist": []},"resource_template": "4","set_name": "accessible to public"}' >> /var/log/cron.log
15 1 * * WED /usr/local/bin/php /var/www/html/modules/EasyAdmin/data/scripts/task.php --task 'OaiPmhHarvester\Job\Harvest' --user-id 1 --server-url 'localhost' --base-path '/' -j --args '{"repository_name": "Steunpunt Wetenschappelijke Collecties","endpoint": "https://blendeff.be/ca/admin/service.php/OAI/qdc_erfgoed/request","set_spec": 1,"item_set_id": "","has_err": 0,"metadata_prefix":"oai_dcterms","resource_type": "items","filters": {"whitelist": [],"blacklist": []},"resource_template": "3","set_name": "accessible to public"}' >> /var/log/cron.log
30 1 * * WED /usr/local/bin/php /var/www/html/modules/EasyAdmin/data/scripts/task.php --task 'OaiPmhHarvester\Job\Harvest' --user-id 1 --server-url 'localhost' --base-path '/' -j --args '{"repository_name": "Steunpunt Wetenschappelijke Collecties","endpoint":"https://blendeff.be/ca/admin/service.php/OAI/dwc_biologie/request","set_spec": 1,"item_set_id": "","has_err": 0,"metadata_prefix":"oai_dwc","resource_type": "items","filters": {"whitelist": [],"blacklist": []},"resource_template": "10","set_name":"accessible to public"}' >> /var/log/cron.log
45 1 * * WED /usr/local/bin/php /var/www/html/modules/EasyAdmin/data/scripts/task.php --task 'OaiPmhHarvester\Job\Harvest' --user-id 1 --server-url 'localhost' --base-path '/' -j --args '{"repository_name": "Steunpunt Wetenschappelijke Collecties","endpoint":"https://blendeff.be/ca/admin/service.php/OAI/dwc_aardwetenschappen/request","set_spec": 1,"item_set_id": "","has_err": 0,"metadata_prefix": "oai_abcd","resource_type": "items","filters": {"whitelist": [],"blacklist": []},"resource_template": "12","set_name": "accessible to public"}' >> /var/log/cron.log
0 2 * * WED /usr/local/bin/php /var/www/html/modules/EasyAdmin/data/scripts/task.php --task 'AdvancedSearch\Job\IndexSearch' --user-id 1 --server-url 'localhost' --base-path '/' -j --args '{"search_engine_id": 3,"start_resource_id": 0,"resource_names": ["items"],"force": false}' >> /var/log/cron.log
# An empty line is required at the end of this file for a valid cron file.