Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Script to turn On-Access scanning off/on

Hi folks

Can anyone help me with a script to stop or start the InterCheck process on a Mac?

In short, I'm wanting to script On-Access Scanning to be off at the start of a backup (to improve performance) and restar when the backup finishes.

Thanks in advance

Georgia

:1002115


This thread was automatically locked due to age.
Parents
  • Hi Andrew,Thanks for your reply.  I pasted your example into AppleScript Editor, but it will not compile.(See attached photo)

    The error message is "Syntax Error   A administrator:true can’’’’t go after this false."


    Then I also tried:

    tell application "Sophos Anti-Virus"
       "On-Access Scanning Component(0)" with administrator privleges
    end tell

    and received a complie error saying:

    Syntax Error:

    A administrator:true can’’’’t go after this On-Access Scanning Component(0).

    It seems we are close! 

    :1014069
Reply
  • Hi Andrew,Thanks for your reply.  I pasted your example into AppleScript Editor, but it will not compile.(See attached photo)

    The error message is "Syntax Error   A administrator:true can’’’’t go after this false."


    Then I also tried:

    tell application "Sophos Anti-Virus"
       "On-Access Scanning Component(0)" with administrator privleges
    end tell

    and received a complie error saying:

    Syntax Error:

    A administrator:true can’’’’t go after this On-Access Scanning Component(0).

    It seems we are close! 

    :1014069
Children
No Data