Python support in Visual Cron - VisualCron - Forum

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


VKG_2017
5 years ago
Hi Experts,

I am using VIsual Cron 8.5.5 Pro version.

I have some requirement to schedule Python scripts in Visual Cron.

Is this being supported and some task examples to fulfill this will really helpful ?

Regards
Sponsor
Forum information
Support
5 years ago
Originally Posted by: VKG_2017 

Hi Experts,

I am using VIsual Cron 8.5.5 Pro version.

I have some requirement to schedule Python scripts in Visual Cron.

Is this being supported and some task examples to fulfill this will really helpful ?

Regards



Yes, you can use the Execute task for this. In the "Command" field you use the path to the "engine" (python.exe) and in the argument you give the path to the script
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
VKG_2017
5 years ago
Great, Thanks for quick response.
VKG_2017
5 years ago
Hi,

While scheduling scipt as suggested, I am getting below error -

Exception in Task: Non zero exit code
Exit code (-1073741515) description: VisualCronAPI.ExitCodes+ExitCodeNotFoundException: Exit code -1073741515 was not found in exit code collection 'Windows.
at VisualCronAPI.ExitCodes.GetExitCodeInfo(ExitCodeCollectionClass ecc, Int32 intExitCode) in C:\git\code\VisualCronAPI\Server\Properties\ExitCodes.vb:line 584
at VisualCronService.ExitCodeAPI.GetDescription(String strCollectionId, Int32 intExitCode) in C:\git\code\VisualCronService\Jobs\ExitCodes\apiExitCode.vb:line 281

Please suggest.

Regards
VKG_2017
5 years ago
Hi,

Can you please support on error reported ?

Regards


VKG_2017
5 years ago
Hi,

While scheduling scipt as suggested, I am getting below error -

Exception in Task: Non zero exit code
Exit code (-1073741515) description: VisualCronAPI.ExitCodes+ExitCodeNotFoundException: Exit code -1073741515 was not found in exit code collection 'Windows.
at VisualCronAPI.ExitCodes.GetExitCodeInfo(ExitCodeCollectionClass ecc, Int32 intExitCode) in C:\git\code\VisualCronAPI\Server\Properties\ExitCodes.vb:line 584
at VisualCronService.ExitCodeAPI.GetDescription(String strCollectionId, Int32 intExitCode) in C:\git\code\VisualCronService\Jobs\ExitCodes\apiExitCode.vb:line 281

Please suggest.

Regards
Support
5 years ago
Originally Posted by: VKG_2017 

Hi,

While scheduling scipt as suggested, I am getting below error -

Exception in Task: Non zero exit code
Exit code (-1073741515) description: VisualCronAPI.ExitCodes+ExitCodeNotFoundException: Exit code -1073741515 was not found in exit code collection 'Windows.
at VisualCronAPI.ExitCodes.GetExitCodeInfo(ExitCodeCollectionClass ecc, Int32 intExitCode) in C:\git\code\VisualCronAPI\Server\Properties\ExitCodes.vb:line 584
at VisualCronService.ExitCodeAPI.GetDescription(String strCollectionId, Int32 intExitCode) in C:\git\code\VisualCronService\Jobs\ExitCodes\apiExitCode.vb:line 281

Please suggest.

Regards



Please show screenshots of your settings. You can mail to support@visualcron.com as well if you prefer.
Screenshots of the settings shown where the arrows point to on my screenshot here: https://www.screencast.com/t/YehhLGuPCm1 


Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
VKG_2017
5 years ago
Hi Team,

I have shared screen shots of my Visual Cron settings while executing Python Exe and script.at support@visualcron.com.

Can you please check and advice


.


Support
5 years ago
Originally Posted by: VKG_2017 

Hi Team,

I have shared screen shots of my Visual Cron settings while executing Python Exe and script.at support@visualcron.com.

Can you please check and advice


.




We have responded and we'll deal with it via mail. For future reference and for others who find this topic: The issue is that VKG has used UNC path in Remote execute. You need to use a local path for the remote machine you're accessing (this is a windows limitation, not a visualcron).
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top