OCR all PDFs in a folder by cron

I will not write a long explanation, just this short one. The cronjob looks like this: This will start sh (a shell, just like bash) and run the command after -c. The command flock will create a lock-file, to prevent that this cron job is started while there is still the previous cron jobs running. […]