I installed my app at 2:30:31 PM, and scheduled the first recurring task at 2:35:31 PM using $schedule.create()
. The recurring interval is set to every 2 minutes.
However, I noticed that the first scheduled event did not trigger at 2:35:31 PM as expected from there after a intreval of 2 minutes the first execution happened at 2:37:31 PM, and then continued correctly every 2 minutes after that.
why not at 2:35:31 pm is it any issue in Freshworks
Here’s the relevant log:
Installing App…
Installed at: 26/6/2025, 2:30:31 pm
Scheduled task set to run 5 mins from now
Scheduled to run first at: 26/6/2025, 2:35:31 pm
{ status: 200, message: ‘Schedule created’ }
Tick-tock! Your scheduled event just fired 
Message: Boom! Your Freshdesk app just lit up on time. 

Trigger Emoji: 


Triggered at: 26/6/2025, 2:37:31 pm
Tick-tock! Your scheduled event just fired 
Message: Boom! Your Freshdesk app just lit up on time. 

Trigger Emoji: 


Triggered at: 26/6/2025, 2:39:31 pm
Is there an internal delay or minimum buffer required after $schedule.create()
?
What is the recommended approach to ensure the first scheduled event executes reliably at the specified time?