-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimport-cron
More file actions
4 lines (4 loc) · 987 Bytes
/
import-cron
File metadata and controls
4 lines (4 loc) · 987 Bytes
1
2
3
4
# must be ended with a new line "LF" (Unix) and not "CRLF" (Windows)
0 1 * * THU /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": "Collectiedatabase CAG","endpoint": "https://cagnet.be/ca/admin/service.php/OAI/dc_cag_beeldbank/request","set_spec": 1,"item_set_id": "","has_err": 0,"metadata_prefix": "oai_dcterms","resource_template": "6","resource_type": "items","filters": {"whitelist": [],"blacklist": []},"set_name": "accessible to public"}' >> /var/log/cron.log
0 2 * * THU /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": 6,"start_resource_id": 1,"resource_names": ["items"],"force": true}' >> /var/log/cron.log
# An empty line is required at the end of this file for a valid cron file.