KiwiMonitor.com

Kiwi tools support Forum
It is currently Tue Dec 12, 2017 11:56 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Launch a script
PostPosted: Tue Aug 04, 2015 10:32 pm 
Offline

Joined: Tue Aug 04, 2015 10:25 pm
Posts: 1
I like both the kiwi application monitor and Kiwi Application Restarter but have a question.

Is there a way to make it that when an exe is closed to start a script?

I have an application that run after it checks the server using powershell if there's an update and if there's an update to download the new update to the local host and then execute the exe. So i need the application to monitor this exe and then if closed to launch a script that will take care of the rest.

Thanks


Top
 Profile  
 
 Post subject: Re: Launch a script
PostPosted: Wed Aug 05, 2015 6:22 pm 
Offline
Site Admin
User avatar

Joined: Mon Jan 16, 2012 11:35 am
Posts: 109
Hello!

Are your commands (script) written in a batch file for the powershell? then you can execute the PS file in kiwi with the arguments (Powershell.exe -File C:\Users\xx\Desktop\ps.ps1)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group