Catalina iMac,
I have a script that deletes SpamSieve Spam from Mac Mail Spam Mailbox, works really well with smaller Spam Mailboxes that with less than 300 spams emails.
However with large Spam Mailboxes with 600 or more Spam emails it times out before completing.
I was trying to place a Timeout in the code but do not understand how to code it.
I can not it compile or run.
Here is the Script file.
I was trying to use timeout command but can not make it work.
Can someone help me with this.
I need to give the script about 300 seconds to complete.
I have a script that deletes SpamSieve Spam from Mac Mail Spam Mailbox, works really well with smaller Spam Mailboxes that with less than 300 spams emails.
However with large Spam Mailboxes with 600 or more Spam emails it times out before completing.
I was trying to place a Timeout in the code but do not understand how to code it.
I can not it compile or run.
Here is the Script file.
I was trying to use timeout command but can not make it work.
Can someone help me with this.
I need to give the script about 300 seconds to complete.