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
  • Hello Christian,

    great, thank you. In the mean time I was on this way, too, with something like running

       type nachts.txt | find "Ergebniszusammenfassung für Scan"

    in a loop and looking for the %errorlevel%

    But I missed your nice function SAVLogDir (), for instance.

    So I think now I will get the problem solved. After I know it works, I will post the final solution here.

    :21071
Reply
  • Hello Christian,

    great, thank you. In the mean time I was on this way, too, with something like running

       type nachts.txt | find "Ergebniszusammenfassung für Scan"

    in a loop and looking for the %errorlevel%

    But I missed your nice function SAVLogDir (), for instance.

    So I think now I will get the problem solved. After I know it works, I will post the final solution here.

    :21071
Children
No Data