Sage 100

 View Only
  • 1.  Looking for some help with configuring Windows Tas

    Posted 09-21-2011 09:48
      |   view attached
    Looking for some help with configuring Windows Task Scheduler for a VI Import Job. It keeps telling me ""the directory name is invalid"" - but the job runs fine from the Shortcut icon I first created. Action = Start a program Program/Script = ""C:\Sage Software\Version440\MAS90\Home\pvxwin32.exe"" ..\LAUNCHER\SOTAPGM.INI ..\SOA\STARTUP.M4P -ARG DIRECT UION vi vipw ABC VIWI09 AUTO Add Arguments = {blank} Start in = ""C:\Sage Software\Version440\MAS90\Home"" I also tried putting all the syntax after \pvxwin32.exe"", into the Add Arguments field but that didn't help.


  • 2.  RE: Looking for some help with configuring Windows Tas

    Posted 09-21-2011 09:59
    Here is a successful script that is working for me in 4.40: C: cd\m90v44_ccmi\MAS90\Home pvxwin32.exe ..\Launcher\Sota.ini ..\Soa\Startup.m4p -ARG DIRECT UION mas90 mas90 ABI VIWI03 AUTO I have no quotes in the script. The MAS 90 directory is on the C: drive.


  • 3.  RE: Looking for some help with configuring Windows Tas

    Posted 09-21-2011 10:05
    Pretty sure the quotes are needed because of the spacing I have in my folder path. But again, the icon I first created is working fine but when I try to use Windows Task Scheduler, it's not. I just tried running a basic .exe program off my desktop via Windows Scheduler and it says ""the task is currently running"" and is just sitting there in that status. So I'm not sure what's going on.


  • 4.  RE: Looking for some help with configuring Windows Tas

    Posted 09-21-2011 10:16
    Pretty sure I now have it working. Will post more info soon.


  • 5.  RE: Looking for some help with configuring Windows Tas

    Posted 09-21-2011 10:43
    Ok, here's the settings I'm now using that have this working: Action = Start a program Program/Script = ""C:\Sage Software\Version440\MAS90\Home\pvxwin32.exe"" (*SEE NOTE BELOW*) Add Arguments = ..\LAUNCHER\SOTAPGM.INI ..\SOA\STARTUP.M4P -ARG DIRECT UION vi vipw ABC VIWI09 AUTO Start in = C:\Sage Software\Version440\MAS90\Home NOTE: For the program/script syntax, I ended up browsing to the .exe. Originally I was copying/pasting it in and I remembered having an issue with this with previous version(s) of Windows. I also enabled ""run only when user is logged on"" and ""run with highest privileges"". At this point though I'm not sure if these 2 setting changes were necessary to get the Task working.


  • 6.  RE: Looking for some help with configuring Windows Tas

    Posted 09-21-2011 10:51
    Also, I added the VI Import Job to the VI Jobs Menu with the appropriate Role Maint security - which I know was a requirement in the past.


  • 7.  RE: Looking for some help with configuring Windows Tas

    Posted 09-21-2011 11:14
    I just create a batch file and start it from the scheduler. Did not have to add the job to the Jobs Menu in 4.4.


  • 8.  RE: Looking for some help with configuring Windows Tas

    Posted 09-21-2011 11:19
    Good to know. Thanks.