Created 10-24-2025 04:54 AM
I have setup an ExecuteSQLRecord processor to get a list of files that were processed daily at 5pm and send this list via email. The process flow works as expected, except for the CRON schedule. My CRON expression is as follows:
0 0 17 * * ?
I believe this is correct to execute daily at 17:00 (5pm).
However, the process flow executes daily at 16:07 (4:07pm) and 17:00 (5pm).
I am scratching my head trying to figure out why the odd execution at 4:07pm.
Does anyone have any insights to where I can check to see why this is happening?
Created 10-24-2025 06:49 AM
We are running the following:
Cloudera Flow Management (CFM) 2.1.7.1001
1.26.0.2.1.7.1001-5 built 07/03/2024 09:38:52 EDT
Created 10-24-2025 06:04 AM
@BobKing 
Unfortunately there is not enough information provided to explain what is going on.  At. minimum you should always share the exact NiFi version being used to make it easier to check for any possible known issues affecting your version.
Apache NiFi uses Quartz Cron. The cron you have configured is correct for "scheduling" a processor for execution at 17:00 every day.  Keep in mind that once scheduled for execution, how long afterwards it executes depends on thread availability.  There are potentially many processors on your NiFi canvas getting scheduled and the "Max Timer Driven Thread Count" pool of threads needs to service all those scheduled processors.  Generally thread execution is very fast, but at times you may have your thread pool being used by some longer running threads that could delay execution. 
An execution at 16:07 pm seem very unexpected here.
Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
Thank you,
Matt
Created 10-24-2025 06:49 AM
We are running the following:
Cloudera Flow Management (CFM) 2.1.7.1001
1.26.0.2.1.7.1001-5 built 07/03/2024 09:38:52 EDT
 
					
				
				
			
		
