Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Infor / Lawson Platforms
S3 Systems Administration
Need to schedule
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5270
People Online:
Visitors:
378
Members:
0
Total:
378
Online Now:
New Topics
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Infor / Lawson Platforms
S3 Systems Administration
Need to schedule
Please
login
to post a reply.
5 Replies
0
Subscribed to this topic
27 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Greg Moeller
Veteran Member
Posts: 1498
2/29/2012 4:26 PM
Here's the situation and requirement:
Need to schedule a script for the Wednesday following the last Friday of a month.
It would take a whole lot of extra logic in the script, correct?
For example: The last Friday of Jan this year was the 27th.... so the Wed following it would be Feb 1st.
But, the last Friday of Feb this year was the 24th... so the Wed following it would be Feb 29th.
How would I most easily accommodate this in my scheduling.
Jimmy Chiu
Veteran Member
Posts: 641
2/29/2012 7:25 PM
Split
@lastfriday + 5 days?
Greg Moeller
Veteran Member
Posts: 1498
2/29/2012 7:39 PM
Split
Where would I put that at, Jimmy? I'm used to korn shell, bourne shell, etc. Would this be a dos/windows command or is it more a sql statement?
Jimmy Chiu
Veteran Member
Posts: 641
2/29/2012 7:53 PM
Split
I would just hard set the 1 day a month value(s) for a year or two and schedule off the list instead of trying to write a script to advance the month if it lapses to next month, recount the day value from 1 etc.
Sam Simpson
Veteran Member
Posts: 239
2/29/2012 10:14 PM
Split
I created a 4GL (cobol) program just to do like what you wanted. There are several time/date APIs that you can use to determined end of the month date/ and day of the week. From there you can calculate the day following a certain day. So if the day you are testing falls as a Wednesday then simply call the script from the same program. This program has to be scheduled to run everyday. Another method would be to use javascript date/time functions from a processflow and if you have the integrator simply call your script from there.
Greg Moeller
Veteran Member
Posts: 1498
3/12/2012 8:27 PM
Split
Thanks both of you for the input. I guess I'll just pursue the list option first... that way it'll be quicker to develop (for a non-programmer).
Please
login
to post a reply.