Python support in Visual Cron - VisualCron - Forum

Community forum

VKG_2017
2019-10-30T08:29:28Z
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
Support
2019-10-30T09:47:04Z
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
2019-10-30T09:53:23Z
Great, Thanks for quick response.
VKG_2017
2020-01-15T07:27:44Z
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
2020-01-28T06:20:10Z
Hi,

Can you please support on error reported ?

Regards


VKG_2017
2020-01-28T10:19:58Z
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
2020-01-28T13:22:41Z
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
2020-01-31T09:41:35Z
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
2020-01-31T10:06:29Z
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