Jump to content


Photo
- - - - -

Calling Pro-IV As A Scheduled Task - Version 6.0


3 replies to this topic

#1 Ross Bevin

Ross Bevin

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 226 posts
  • Gender:Male
  • Location:Manzanillo, Colima, Mexico

Posted 30 April 2007 - 05:35 PM

We are migrating to Version 6.0 in two weeks but I have one issue that I am trying to resolve first. I have a number of scheduled tasks under version 5.5 that I am trying to get to run on 6.0. The batch command under 5.5 is as follows:

C:\PROIV\PROIV.EXE C:\PROIV\PROIV6_NIGHT_PROCESS.PIV

When trying to run this command under 6.0 I am told that PROIV.EXE can no longer be run directly. I changed the command to run the new client, PROIVCSM.EXE and it runs once. The problem is that the client doesn't close after the function logs off. Does anyone know how I can terminate the new client after it has run its function and logged off? Thanks.

#2 fatboy996

fatboy996

    Newbie

  • Members
  • Pip
  • 5 posts
  • Gender:Male

Posted 01 May 2007 - 02:56 PM

We are migrating to Version 6.0 in two weeks but I have one issue that I am trying to resolve first. I have a number of scheduled tasks under version 5.5 that I am trying to get to run on 6.0. The batch command under 5.5 is as follows:

C:\PROIV\PROIV.EXE C:\PROIV\PROIV6_NIGHT_PROCESS.PIV

When trying to run this command under 6.0 I am told that PROIV.EXE can no longer be run directly. I changed the command to run the new client, PROIVCSM.EXE and it runs once. The problem is that the client doesn't close after the function logs off. Does anyone know how I can terminate the new client after it has run its function and logged off? Thanks.


Try the msdos command "TASKKILL" (i.e. TASKKILL /F /IM proivcsm.exe)

#3 Wim Soutendijk

Wim Soutendijk

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 211 posts
  • Gender:Male
  • Location:Netherlands

Posted 01 May 2007 - 06:43 PM

have you considered writing a task around your functions and call that task?
If it needs a client, in 5.5 that client is opened automaticly.
Don't know if that client will close in 6.0 when the task completes however.

#4 Glenn Meyers

Glenn Meyers

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 221 posts
  • Gender:Male
  • Location:St. Louis, MO, United States
  • Interests:I also raise African Gray Parrots and build hot rod automobiles.

Posted 03 May 2007 - 06:27 PM

I had trouble getting the user to go away on my system occasionally (Ver. 4.6).
I have added a logic statement that reads:
@LFUNCT = 'OFF'

No troubles since.

Glenn



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users