Search found 68 matches

by tony_smith
Wed Nov 21, 2007 11:22 pm
Forum: Technical / Scripting
Topic: Default Script Directory
Replies: 2
Views: 7595

Thanks Marcus! That worked. None of us clued that one, but should have. :oops:
by tony_smith
Wed Nov 21, 2007 10:10 pm
Forum: Technical / Scripting
Topic: Default Script Directory
Replies: 2
Views: 7595

Default Script Directory

Does anyone know where MSched looks for the default data (Script) Directory? A newby techie did some maintenance on the server that holds MSched and the script files. The maintenance was successful in wiping out many settings and messing up group policies. Most of this we have repaired, but we ended...
by tony_smith
Mon Jan 22, 2007 8:33 pm
Forum: Technical / Scripting
Topic: FTPGetFile adds text
Replies: 3
Views: 5752

Yes

Aye, lad... that be "I"

Actually, it was working with one "1".
by tony_smith
Mon Jan 22, 2007 7:28 pm
Forum: Technical / Scripting
Topic: FTPGetFile adds text
Replies: 3
Views: 5752

FTPGetFile adds text

I have something new happening to an old script... and please forgive the old rhubarb... but this just started happening when I upgraded to the latest version of 9.0 last week. This line results in a 550 Error 00.110.70.187,myname,Password,21,U:\EData\SIL_FTP\DBAF\VMI\NEW_IN\sauder.txt,\DBAF\sauder....
by tony_smith
Tue Aug 22, 2006 4:14 pm
Forum: Technical / Scripting
Topic: FTP Command Log
Replies: 4
Views: 7115

Thank you Marcus!
by tony_smith
Tue Aug 22, 2006 2:24 pm
Forum: Technical / Scripting
Topic: FTP Command Log
Replies: 4
Views: 7115

Thanks, I know and use the FTPRESULT. What I need is the log... the series of commands and results that Msched sends and receives as it goes through logon and file download. The FTP command sent returns a value or string from the remote site after each FTP command. For instance FTPGetFile has to sen...
by tony_smith
Mon Aug 21, 2006 9:40 pm
Forum: Technical / Scripting
Topic: FTP Command Log
Replies: 4
Views: 7115

FTP Command Log

Is there a way to log FTP session commands to a file? Not the script log, but the actual exchanges between the two servers showing commands sent and the resulting reply.

I can see the commands zipping past in the Msched FTP status window... it is those I wish to log.
by tony_smith
Wed May 24, 2006 3:35 pm
Forum: Technical / Scripting
Topic: Status Window, Macro Running button
Replies: 6
Views: 8731

What about a progress bar as well? Here is something that I use versions of to give users a graphic and a progress window, just add loops to update the message and bar as required. Message>Running Let>k=0 Let>CPTN=Processing Dialog>PROGBAR Caption=%CPTN% Left=550 Top=50 Width=451 Height=43 ProgressB...
by tony_smith
Mon Apr 10, 2006 9:34 pm
Forum: Technical / Scripting
Topic: Server operations
Replies: 7
Views: 9456

I have been using Sched for about five years now. From early on, I was plagued with the disconnected TS session issue. So far as I know, there is no way that Msched can send keystrokes to a screen that is not there. If the console is not connected to the session, the script will stall. The work arou...
by tony_smith
Wed Apr 05, 2006 5:30 pm
Forum: Technical / Scripting
Topic: Log File
Replies: 2
Views: 4773

Log File

I am using MS Pro 8.0.1 The help utility, within "Command Line Options" states: "It is not necessary to specify a log file if running a macro using only the macro name for a macro that already has logging enabled. In this case the log file settings for that macro will be used. " However, I have been...
by tony_smith
Thu Oct 20, 2005 3:09 pm
Forum: Technical / Scripting
Topic: Nested If> Loops
Replies: 4
Views: 7232

Thanks to all who responded... lots of ideas and guidance. It is feedback like this that shows the value of these forums, something I wish other mission-critical software would have. The lack of endifs is a rookie mistake on my part... oops! My trial values did not test all the loops. Also, I made a...
by tony_smith
Wed Oct 19, 2005 10:30 pm
Forum: Technical / Scripting
Topic: Nested If> Loops
Replies: 4
Views: 7232

Nested If> Loops

I have looked through previous posts and they do not satisfy my question. The following seems to work just fine, but is it "legal"? I can't find a reference to nesting IF statgements in this manner and want to be cautious... Remark>Pare MIT line down to fit 9 chars If>MITCNTLG=4 Let>Let>MITLN=00090%...
by tony_smith
Mon Sep 26, 2005 10:00 pm
Forum: Technical / Scripting
Topic: Macro to test if specific program is open
Replies: 3
Views: 6137

Here is part of a script I use to test if the application Tppcsrvr is running. You can get pstools off the net as freeware, just Google it. Also, ReadFile works faster, but... this ain't broke. Remark> pslist.exe is part of PStools Run Program>Cmd /c pslist tppc >U:\Reports\Temp\taskq.txt Wait>5 Let...
by tony_smith
Mon Sep 19, 2005 9:27 pm
Forum: Technical / Scripting
Topic: SMTPSendMail Timeout
Replies: 3
Views: 4601

But... Not so fast Oh Wise One... To get SMTP_RESULT, the SMTPSendMail command line must first finish n'est ce pas? Issue I have is that the command does not finish, it is waiting for port 25 to be in the listening state; forever, for all time, evermore, in perpetuity, indefinitely, ad infinitum and...
by tony_smith
Mon Sep 19, 2005 8:45 pm
Forum: Technical / Scripting
Topic: SMTPSendMail Timeout
Replies: 3
Views: 4601

SMTPSendMail Timeout

I have found instances when SMTPSendMail suspends a script waiting for port 25 of a mail server. It will wait forever if the server is kaput. Is there a built-in setting, switch or option to set a timeout for SMTPSendMail? I have a work-around using PortQry from Microsoft but need to ask the questio...
cron
Sign up to our newsletter for free automation tips, tricks & discounts