Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

Retirement Notice

Baanboard is shutting down on 31-dec-2023. See: http://www.baanboard.com/baanboard/showthread.php?t=76043


User login

Frontpage Sponsor

Main

Poll
What do you expect from your SI Implementation partner for the success of ERP implementation.
Bring best practices - Not to offer more CR's Leveraging standard functions
20%
Need more honesty to work with the Users until their processes are fully mapped & Users are trained
40%
Focus on process automation/ integrations/ Real time data/ BI analytics
13%
Stick to basics
27%
Total votes: 15

Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 24th May 2018, 15:19
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 75
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Job Running using windows Scheduler
Baan: ERP LN 6.1 FP11 (Infor ERP 10.5)
C/S: None/Unknown

Hi I created one job and scheduled that job in windows scheduler. Once in a day it will run. When i check in task scheduler it was showing history as task completed, Last execution time and next execution time. But In inforln when i checked job was always in free state and i checked job history there is no history. So can u please tell how to run job using windows scheduler.Is there any step i missed please let me know.
Attached Files
File Type: txt JOB.txt (2.1 KB, 133 views)
Reply With Quote
  #2  
Old 24th May 2018, 16:40
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Guru
 
Join Date: Sep 2012
Location: India
Posts: 2,503
bhushanchanda is a jewel in the roughbhushanchanda is a jewel in the roughbhushanchanda is a jewel in the rough
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
Check KB# 718686 on InforXtreme.
__________________
Regards,

Bhushan

Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
  #3  
Old 25th May 2018, 07:07
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 75
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Job Running throug windows Scheduler

Hi , my job was running and updated in windows scheduler but no update in inforln. Here I shared my history for my job which I took from task scheduler. Did I missed any steps please help.
Attached Thumbnails
Click image for larger version

Name:	2018-05-25_09h34_08.png
Views:	74
Size:	24.6 KB
ID:	6502  
Reply With Quote
  #4  
Old 25th May 2018, 09:37
andreas.toepper andreas.toepper is offline
Senior Member
 
Join Date: Jun 2004
Posts: 262
andreas.toepper is on a distinguished road
Baan: Baan4, LN6.1 - DB: MSSQL - OS: Linux&Windows
We're using one LN Job running using planned tasks of Windows on our LN 10.2.1 system. The job is deleting the print history. LN will show a history of the job and the last time, the job was running in the job session.

So let's assume your job is not running in LN. Well obviously its planned task is started in Windows, but somehow it is "not going through" to LN. Your're basically executing a batch. In this batch there's bw.exe, which is used to start the Job in LN. Bw.exe may not be able to run the job, but it terminates without any windows error, so the planned task will show an errorless execution of the batch file.

I've been going through this too, when I was setting up the job: Windows executed the task, but no sign of execution in LN.

I tested the batch by manually executing it in remote desktop on the server. So you can catch basic configuration errors (i.e. bw.exe not found; missing access rights).
Then I started the planned task manually on the remote desktop. So you may get errors with the used windows user linked to the planned task. (Also check the windows error list of the server.)
I had to fix access rights and file path until it worked. Did you try executing your batch manually?

I did not use the Batch provided by Infor, I just started bw.exe like this:

Code:
[/rem Job in LN starten
"C:\Program Files (x86)\Infor\BW\ERPLN\bin\bw.exe" D:\erp61\job\job000.bwc
job00.bwc has to be configured for auto login.

In the field Command I've given the required parameter:

Code:
-set BSH_JOB=WARTUNG ttaad5203m000
In your case the field has to be empty, I think, because the parameters are added to the line of bw.exe. There's no need to change your batch. I'm just giving this as an alternative way.
Reply With Quote
  #5  
Old 25th May 2018, 10:27
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 75
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Job running through windows scheduler

Thanks for your reply.
This is my bat file and bat file for start job. Can u please explain how to configure bwc file. May be I have done some mistakes in configuring bwc file I think
Attached Files
File Type: txt mrp_190.txt (1.7 KB, 94 views)
File Type: txt startjob.txt (2.0 KB, 92 views)
Reply With Quote
  #6  
Old 25th May 2018, 13:20
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 75
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Password for .bwc file

Hi can u please tell where to give password while configuring .bwc file. because, In .bwc file I couldn't find password.
Reply With Quote
  #7  
Old 28th May 2018, 08:44
andreas.toepper andreas.toepper is offline
Senior Member
 
Join Date: Jun 2004
Posts: 262
andreas.toepper is on a distinguished road
Baan: Baan4, LN6.1 - DB: MSSQL - OS: Linux&Windows
Well, I don't now if there are any tricks with the bw file. I just configured it for a normal login with password saved. (I did enter the given commands in the command field. So it's not a "normal" bw configuration.)

I think saving the password is essential and is required every time you do changes on the bw.

I do have the password=xxxxx line in the bwc file, so the password is saved.

I think I saved the password, when manually configuring the bwc file, while being on the server using remote desktop.
Reply With Quote
  #8  
Old 22nd June 2018, 12:09
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 75
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
job running through windows scheduler

Hi Thanks for reply. My job was started running. But after three days staus in LN was cancelled. When i Checked job history cause is out of time. Can anyone tell why i'm getting this??
Reply With Quote
  #9  
Old 4th October 2023, 17:03
stuckon4c4 stuckon4c4 is offline
Newbie
 
Join Date: Jun 2019
Posts: 2
stuckon4c4 is on a distinguished road
Baan: 4c4 - DB: oracle - OS: unix
Hi everyone. Sorry to resurrect an old thread but we're running into the same issue here. We have been running Baan using windows job scheduler for quite some time, but recently, the jobs have been doing this exact same thing. The windows tasks say they completed without error, but for large portions of a day they will all stop executing on the baan side only. Windows always shows it launched them. The weird part, and what makes it so hard to troubleshoot, is that it is seemingly at random times. I can't find any kind of rhyme or reason, and I've never been able to reproduce it manually. I've kept the server open all day sometimes and never seen an issue, but then a couple days later when I'm not on it, we'll suddenly have a bunch of jobs that aren't running on the baan side. Any help would be greatly appreciated, having trouble solving this.

Thank you!
Reply With Quote
  #10  
Old 4th October 2023, 17:27
jbaanm jbaanm is offline
Member
 
Join Date: Sep 2006
Posts: 50
jbaanm is on a distinguished road
Baan: 4c4 - DB: Oracle10G - OS: AIX5.3
Have you found a solution?
__________________
Joy Baba Baan
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Job Not Running through Windows Scheduler alerts Tools Administration & Installation 10 28th March 2018 10:34
Job Scheduling Problems Linux litrax Tools Administration & Installation 3 4th September 2017 16:59
Programming Question mr_suleyman Tools Development 37 11th November 2016 09:14
Running a Job in Windows environment Not Working! tnzabo Tools Development 1 19th January 2007 00:42


All times are GMT +2. The time now is 01:17.


©2001-2023 - Baanboard.com - Baanforums.com