Skip to content

Commit 15fb799

Browse files
expand cron job
1 parent e97b308 commit 15fb799

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

import-cron

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# must be ended with a new line "LF" (Unix) and not "CRLF" (Windows)
22
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": "IDEM - Integrated Database for Early Music","endpoint": "https://idemdatabase.org/ca/admin/service.php/OAI/Composition/request","set_spec": 1,"item_set_id": 121470,"has_err": 0,"metadata_prefix": "composition","resource_type": "items","filters": {"whitelist": [],"blacklist": []},"set_name": "tillgänglig för allmänheten"}' >> /var/log/cron.log
33
15 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": "IDEM - Integrated Database for Early Music","endpoint": "https://idemdatabase.org/ca/admin/service.php/OAI/Manuscript/request","set_spec": 1,"item_set_id": 121470,"has_err": 0,"metadata_prefix": "manuscript","resource_type": "items","filters": {"whitelist": [],"blacklist": []},"set_name": "tillgänglig för allmänheten"}' >> /var/log/cron.log
4-
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": 2,"start_resource_id": 0,"resource_names": ["items"],"force": false}' >> /var/log/cron.log
4+
0 2 * * 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": "IDEM - Integrated Database for Early Music","endpoint": "https://idemdatabase.org/ca/admin/service.php/OAI/ProductionUnit/request","set_spec": 1,"item_set_id": 121470,"has_err": 0,"metadata_prefix": "ProductionUnit","resource_type": "items","filters": {"whitelist": [],"blacklist": []},"set_name": "tillgänglig för allmänheten"}' >> /var/log/cron.log
5+
30 2 * * 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": "IDEM - Integrated Database for Early Music","endpoint": "https://idemdatabase.org/ca/admin/service.php/OAI/PrintedSource/request","set_spec": 1,"item_set_id": 121470,"has_err": 0,"metadata_prefix": "PrintedSource","resource_type": "items","filters": {"whitelist": [],"blacklist": []},"set_name": "tillgänglig för allmänheten"}' >> /var/log/cron.log
6+
0 3 * * 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": 2,"start_resource_id": 0,"resource_names": ["items"],"force": false}' >> /var/log/cron.log
57
# An empty line is required at the end of this file for a valid cron file.

0 commit comments

Comments
 (0)