PDA

View Full Version : how to schedule a TDS-3 scan


Stephen
August 31st, 2003, 11:51 AM
Have read all the documentation and can't figure out how to schedule a TDS-3 scan (or other action) to happen automatically at a specified time of day. There must be a way.

Stephen

DolfTraanberg
August 31st, 2003, 01:18 PM
Hi Stephen and welcome,
You are right, you can't schedule an automatic scan within TDS, but you allways can use the AT command from the command-line to schedule a file scan.
Something like this:
AT 02:00 /every:M,T,W,Th,F,Sa,Su C:\at\tds3\tds-3.exe -scand c:\
If you have your copy registered, you can use various scripts to schedule a scan
Dolf

Stephen
August 31st, 2003, 02:10 PM
Thanks for confirming my understanding. The question that follows from your reply, which suggests using the 'at' command, is:

1. If I'm already running TDS-3 24x7 for Execution Protection, and I want to run an automated disk scan, will the second instance of TDS-3 I invoke with the 'at' command get in the way of the first instance of TDS-3 or vice versa.

2. Is there any alternate way of communicating commands to a running TDS-3, for example with DDE (the documentation makes some mention of this)?

DolfTraanberg
August 31st, 2003, 03:13 PM
1. when you use the AT command, the same instance of TDS will perform the scan.
2. The DDE functions which would be useful are RELOAD (if you have set up TDS to do a scan on startup), FULLSYSCHECK, for a full system check or the SENDKEYS function, but I doubt if this way would make you happy :D

By having Execution Protection installed you indicated you have a registered version of TDS, so you might have a look at two scripts from Andreas Wagner:
schedule.ss3 and the wonderful Screx project
Dolf*********

Stephen
August 31st, 2003, 06:11 PM
Dollefie

Sorry, but in following your advice (i.e., invoke tds-3 from the "AT" command with a "-scand c:\" argument, with an instance of tds-3 already running. I get a keyfile is corrupt message (attached)

I've emailed all the details to support, but thought you might have a little insight in the meantime.

Tnks
Steve

DolfTraanberg
September 1st, 2003, 12:18 PM
I've seen this error on systems running XP. It happens when TDS is running and and the user logs in on another account while TDS is configured to run at startup. Can this or something like this be the case?

Andreas1
September 1st, 2003, 03:35 PM
-{ Quote: " quoting: Dollefie link=board=5;threadid=13123;start=0#msg84165 date=1062357215]
By having Execution Protection installed you indicated you have a registered version of TDS, so you might have a look at two scripts from Andreas Wagner:
schedule.ss3 and the wonderful Screx project
" }-

Thanks for the PR, Dolf ;D
The idea how to use this for scanning is this: make your TDS perform the scans you want on startup, (and load the schedule script automatically) then use a ss3 script to make tds restart at certain times... (while this is a bit complicated and generate its own difficulties, it may avoid problems the other approaches have, so if you don't make progress with the 'at' command, you could try it.)
Documentation - especially with the schedule script - is somewhat lacking, so you may want to post questions about it at dcs's scripting forum or mail me directly (a.wagner<at>stud.uni-frankfurt.de).

(Schedule and screx can be found here (http://www.commontology.de/pub/tds/index.php) (screx in its own subdirectory))