VisualCron is a job scheduler and automation tool for Windows.
Questions tagged [visualcron]
4 questions
1
vote
2 answers
Set a script's exit code to a random value to simulate intermittent failure
I have the following code:
$ExitCode = Get-Random -InputObject 0, 1
Exit $ExitCode
It seems to always return 0 as an exit code.
I don't know if I have coded the exit wrong or if Get-Random does not allow setting it to a variable.
All the samples I…

Be Kind To New Users
- 9,672
- 13
- 78
- 125
0
votes
0 answers
"Connection failed to 'localhost'" in VisualCron
I am using VisualCron 9.9.12 (on Windows server 2016) and as of today I cannot start the VC server. I'm getting the message:
Connection failed to 'localhost'.
This may indicate that the Server has not been fully started or that Server is not…

calabacita
- 1
- 1
0
votes
0 answers
Powershell Error "Unable to Open Property of the Workbooks Class"
When running a Powershell script using a task scheduler (VisualCron), I am getting the error "Unable to get the Open property of the Workbooks class at System.Management.Automation.ComInterop.ComRuntimeHelpers.CheckThrowException(Int32 hresult,…
0
votes
0 answers
Cannot call method on a null-valued expression
I am trying to create a function that Exports all settings in VisualCron via Powershell through VisualCron API
I first create a function to load the DLLS
Then I create the function to establish a connection
These work fine
I however struggle with…

Rami Aboulissane
- 23
- 1
- 1
- 4