Skip to content

user_uploads

Valerio Arnaboldi edited this page May 9, 2018 · 2 revisions

Processing user uploads

Use the script run_useruploads_pipeline_incremental.sh in the tpctools project to periodically check for new user uploads, and to convert and index them into textpressocentral system.

Logging

Use the logger Unix program to append the output of the user upload pipeline script to /var/log/messages.

Examples

Process user uploads every 15 minutes and log the output

Add the following cron job to the root crontab:

*/15 * * * * /usr/local/bin/run_userupload_pipeline_incremental.sh 2>&1 | logger &
Clone this wiki locally