Related question reference here
Below is my procmail recipe which works fantastic ...
:0bf
* ^Subject.*register$
| /usr/bin/php -f /root/data/scripts/register.php
However, the recipe/script above takes up to 3 hours to complete (lots of data to process and convert), and only then does procmail continue further processing.
I added an &
at the end of the file path in the hope it would run in the background but then the script is not executed:
:0bf
* ^Subject.*register$
| /usr/bin/php -f /root/data/scripts/register.php &
:0c
clone flag does that, but it seems out of place in this context. Just leave Procmail running the job for however long it takes. (You might want to examine theTIMEOUT
variable, though.) – tripleee Nov 28 '16 at 05:53TIMEOUT
hint ... was not aware of it ;) – Danny Nov 28 '16 at 18:45