Đã Hủy

Simple VB Script

Need a VB Script that runs a DOS command, conman e, (the output of this command is attached) and checks the last line of the output. Last line is formatted as follows.

Schedule (Exp) (#XXXXX) on . Batchman LIVES. Limit: 99, Fence: 0, Audit Level: 1

In the above format, if I run "conman e" between 12:01AM to 2PM then the date is yesterday's date. If I run it between 2:01PM till midnight, then it is todays date.

with that said, I need the following.

When I run your .vbs script in the Windows Scheduler, find out the time I am running and then expect the DATE as I explained earlier; and keyword LIVES as well. If both satisfied then [url removed, login to view] "All is well" Else [url removed, login to view] "All is NOT well".

Kỹ năng: Visual Basic

Xem thêm: vb this, dos on line, dos find, audit format, vb vb, vb n, e vb, VB, till, said, line-following, IS audit, fence, exp, DOS, output script, vbs output, runs, script schedule, time scheduler, windows command script, vbs windows, formatted, visual schedule, script script

Về Bên Thuê:
( 10 nhận xét ) Flemington, United States

Mã Dự Án: #34671

1 freelancer đang chào giá trung bình $50 cho công việc này

Nortus

Please see PM for clarifaications

$50 USD trong 2 ngày
(6 Đánh Giá)
3.9