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


Markus Baer
2023-05-04T13:51:44Z
Hi all,

I have a question regarding VCCommand that one of you might be able to answer. We would like to run jobs out of a stored procedure in MSSQL-Server. Therefore, I would like to know if it's possible to run jobs also with an AD user?

The manual lists only examples for the action runjob where I have to set -username and -password in clear text:

Example: VCCommand --action runjob --ip 127.0.0.1 --connectionmode remote --username admin --password xyz --name "Job Id or Name"

We dont want to write down the password in clear text for security reasons. I saw that there is also an example with the switch -logontype:

Example: VCCommand --logontype ad --action listtasks --connectionmode local

However, it's not clear to me whether I can combine the switches arbitrarily to get something like this:

VCCommand --logontype ad --action runjob --ip 127.0.0.1 --connectionmode remote --name "Job Id or Name"

Thanks in advance and have a nice day everyone
Sponsor
Forum information
Markus Baer
2023-05-09T15:35:06Z
We could finally set up an AD-user to test the switches. They can be combined in any way you like.
Scroll to Top