Template:EPrints Crontab Template: Difference between revisions
Appearance
Added template crontab for EPrints |
Replaced with EPRINTS_PATH and ARCHIVE_ID as appropriate. |
||
| Line 1: | Line 1: | ||
# Generate browse views | # Generate browse views | ||
00 01 * * * | 00 01 * * * EPRINTS_PATH/bin/generate_views ARCHIVE_ID --generate menus | ||
# Send emails alerts (e.g. editorial reviews) | # Send emails alerts (e.g. editorial reviews) | ||
00 02 * * * | 00 02 * * * EPRINTS_PATH/bin/send_alerts ARCHIVE_ID daily | ||
10 02 * * 0 | 10 02 * * 0 EPRINTS_PATH/bin/send_alerts ARCHIVE_ID weekly | ||
20 02 1 * * | 20 02 1 * * EPRINTS_PATH/bin/send_alerts ARCHIVE_ID monthly | ||
# Lift expired embargoes on documents | # Lift expired embargoes on documents | ||
00 03 * * * | 00 03 * * * EPRINTS_PATH/bin/lift_embargos ARCHIVE_ID >> EPRINTS_PATH/archives/ARCHIVE_ID/var/lift_embargos.log | ||
# Generate Site Map | # Generate Site Map | ||
00 04 * * * | 00 04 * * * EPRINTS_PATH/bin/tools/generate_sitemap ARCHIVE_ID | ||
Revision as of 08:45, 11 August 2026
# Generate browse views 00 01 * * * EPRINTS_PATH/bin/generate_views ARCHIVE_ID --generate menus # Send emails alerts (e.g. editorial reviews) 00 02 * * * EPRINTS_PATH/bin/send_alerts ARCHIVE_ID daily 10 02 * * 0 EPRINTS_PATH/bin/send_alerts ARCHIVE_ID weekly 20 02 1 * * EPRINTS_PATH/bin/send_alerts ARCHIVE_ID monthly # Lift expired embargoes on documents 00 03 * * * EPRINTS_PATH/bin/lift_embargos ARCHIVE_ID >> EPRINTS_PATH/archives/ARCHIVE_ID/var/lift_embargos.log # Generate Site Map 00 04 * * * EPRINTS_PATH/bin/tools/generate_sitemap ARCHIVE_ID