Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


zulfredy
2010-12-13T10:16:13Z
Hi.I use VisualCron 5.7. I created task with task type "EXECUTE" to run VBScript with arguments.

my VBScript is funtion to zip file over winzip. I run that task but not give me result status,and status "running"

but if I used Visual cron 5.69 and my vbscript to zip file. task give me result "success" and my file has compressed.

why VisualCron 5.7 can do that?

thanx
Sponsor
Forum information
Support
2010-12-13T10:33:00Z
Which versions are you really talking about? Version 3 are many years old.

If something works in a later version means it has previously been a problem and now fixed.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
zulfredy
2010-12-13T10:41:04Z
opss sorry.
Visualcron 5.7 can't give result (still running)
buat versiont 5.69 can give result.
thanx
Support
2010-12-13T11:03:10Z
Is this a script that we can test from here?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
zulfredy
2010-12-13T11:16:58Z
Quote:

ZipLocation="c:\program files\winzip\winzip32.exe"

zipass=wscript.arguments(0)

'==============Function=========================
function process(byval command,byref StdErr)
Set objShell = WScript.CreateObject("WScript.Shell")
Set oShell = WScript.CreateObject("WScript.Shell")
Set objExecObject = objShell.Exec(command)
Do While Not objExecObject.StdOut.AtEndOfStream
strText = strText & objExecObject.StdOut.ReadLine()

Loop
stdErr= objExecObject.StdErr.readline()
process=strtext
end function
'=================================================

zip=chr(34) & ZipLocation & chr(34) & " -min -m -s" & zipass & " " & "E:\users.zip " & "E:\users.xml"

out2=process(zip,processErr2)
if processErr2<>"" then
wscript.stderr.writeline processErr2
wscript.quit(1)


else

hsl=hsl & vbcrlf & filename & " done,"
end if



wscript.stdout.writeline hsl
wscript.quit



USAGE: TEST.VBS "password"

zulfredy attached the following image(s):
zulfredy
2010-12-14T09:25:28Z
Hi..
suitable with my problem yesterday(post above), how to solve that?

thanx
Support
2010-12-14T10:22:32Z
Are you testing this on different machines or same?

Is E: a local drive?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
zulfredy
2010-12-14T11:18:39Z
yes E is local drive
I have tested in local drive and also sharing. the result still same "Running"

thanx
zulfredy
2010-12-16T04:10:38Z
hi..
Have you solved that problem?
My company has bought VisualCron,so need to implement to our company system ASAP.
thanx
Scroll to Top