Why am I getting the error ‘The app has not registered an onScheduledEvent’ when implementing a custom event and registering onScheduledEvent?
Hi @Bich_H_ng
Welcome to the Freshworks developer community…
You need to listen for the scheduledEvent
by defining the onScheduledEventHandler
callback function in your server.js
. This function will be executed whenever a scheduled event is triggered. Inside onScheduledEventHandler
, you can define the logic to handle the event, such as logging the event details, updating a database, or triggering other processes. Ensure that your server is properly set up to receive and process these scheduled events to avoid missing any executions.