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

How to run a program after scan is finished?

Currently we run Sophos scans on the client machines during work hours. Because this slows machines down, we want to scan the machines nightly. Waking up the machines is not a big point, but because on some machines scans run fast and on others they might need hours, I wonder how we can manage that a program (shutdown) is run after the scan job has finished?

I assume others do nightly scans with shut downs, too?

:20415


This thread was automatically locked due to age.
Parents
  • HI,

    Is this primarily a problem for older machines, such as XP, 2003?  The option "run scan at lower priority " should allow you to run the scans during the day.

    Otherwise there is no way to have the machine shutdown once complete without getting creative.  One option might be to create another scheduled task on the machine at the same time that runs shutdown.exe.  You would configure this with the option of "Only start the task if the computer has been idle for at least: " set to maybe 1 minute.   This should in theory cause shutdown.exe to be called once the task has completed.  You could test this to see if it works.

    Otherwise, you would need maybe another tasks set to kick off the Sophos task and then the original task would call shutdown.exe once the first returns.

    There is no way to do it natively within the product but maybe the above gives you something to work with.


    Regards,

    Jak
     

    :20421
Reply
  • HI,

    Is this primarily a problem for older machines, such as XP, 2003?  The option "run scan at lower priority " should allow you to run the scans during the day.

    Otherwise there is no way to have the machine shutdown once complete without getting creative.  One option might be to create another scheduled task on the machine at the same time that runs shutdown.exe.  You would configure this with the option of "Only start the task if the computer has been idle for at least: " set to maybe 1 minute.   This should in theory cause shutdown.exe to be called once the task has completed.  You could test this to see if it works.

    Otherwise, you would need maybe another tasks set to kick off the Sophos task and then the original task would call shutdown.exe once the first returns.

    There is no way to do it natively within the product but maybe the above gives you something to work with.


    Regards,

    Jak
     

    :20421
Children
No Data