Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Smart Notification
Help deciphering cron_expression for SN
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Hitman
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5208
People Online:
Visitors:
200
Members:
0
Total:
200
Online Now:
New Topics
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
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
S3 Customization/Development
Read and Write CSV file COBOL
10/9/2024 2:53 PM
Does anyone have a quik example of a program that
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
1372
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
Performance Management
Smart Notification
Help deciphering cron_expression for SN
Please
login
to post a reply.
4 Replies
1
Subscribed to this topic
14 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Greg Moeller
Veteran Member
Posts: 1498
4/29/2016 6:47 PM
Has anyone had any luck deciphering the cron_expression field in the QRTZ_CRON_TRIGGERS table?
For example: I have 10 0 9 ? * 6 *
I know that this notification is scheduled for 9:00 M-F
I get the 2nd and 3rd fields, but what do the other fields mean?
Robby
Veteran Member
Posts: 87
5/2/2016 3:26 PM
Greg,
I've done some testing to see if I could decipher some of this field,
In our database (LBI 10.2.0.0.126; SQL2008R2)
The first field represents 'seconds', the second field represents 'minutes', the third field depends upon whether the schedule is 'Daily' or 'Hourly'.
For 'Daily', the third field is the hour that the schedule will run (24 hour clock).
For 'Hourly', the third field is the hour range the schedule will run, example 6-18, will run every hour from 6 AM to 6 PM. Absence of an hour range indicates the schedule runs all day.
(I haven't figured out how a 'Weekly' or a 'Monthly' schedule is represented.) (YET!):-)
So, an example would be 0 52 14 .....this would be 2:52:00 PM
-------------
I haven't figured out the question mark yet (?).
-------------
But, the last section, numbers bracketed by asterisk (*) and separated by commas, represent the days of the week the schedule will run. Where Sunday=1, Monday=2, etc.
-Robby
Greg Moeller
Veteran Member
Posts: 1498
5/2/2016 3:37 PM
Thanks for the help, Robby.. (and anyone else that is attempting)....
Unix cron doesn't have seconds, so that was throwing me for a loop.
In my example, though the 6 confuses me because I know that this schedule is set up for M-F.
Any additional help is really appreciated!!
The.Sam.Groves
Veteran Member
Posts: 89
5/3/2016 1:09 PM
QRTZ_CRON_TRIGGERS implies they used the standard Quartz Job Scheduler library.
I'd suggest skimming over
http://www.quartz-schedul...orial-lesson-06.html
However that leads you back to the same spot, they aren't doing anything special with the format other than adding a second field.
Are you sure that's the only entry that refers to that notification (i.e. there aren't multiple entries and this is just the one that kicks off Fri/Sat?)
Greg Moeller
Veteran Member
Posts: 1498
5/3/2016 1:35 PM
Thanks very much for that link! And no, I'm not sure that is the only entry that refers to that notification... I'll check on that as well.
Please
login
to post a reply.