Send email based on age of file
Posted: Fri May 06, 2022 9:04 am
Hi,
I have a workflow that works great, a file is uploaded to us and goes into an INPUT folder which another applications uses as a watch folder. One that file has been processed it gets moved to a PROCESSED folder and FFAStrans sends out email comms to let us know its complete.
Every now and then a file doesn't get processed, usually due the the uploaded file not having the right codec or frame rate or just corrupt. What I would like to do is have FFAStrans monitor that INPUT folder and if any files creation date is older than 5hrs to send me an email to say that it has stalled and requires manual interaction.
Is this possible with conditional node? Or is this too complex for FFAStrans and something I might have to look into with powershell?
I have a workflow that works great, a file is uploaded to us and goes into an INPUT folder which another applications uses as a watch folder. One that file has been processed it gets moved to a PROCESSED folder and FFAStrans sends out email comms to let us know its complete.
Every now and then a file doesn't get processed, usually due the the uploaded file not having the right codec or frame rate or just corrupt. What I would like to do is have FFAStrans monitor that INPUT folder and if any files creation date is older than 5hrs to send me an email to say that it has stalled and requires manual interaction.
Is this possible with conditional node? Or is this too complex for FFAStrans and something I might have to look into with powershell?