Scheduled job is not running even though job run by execute now button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 08:36 AM
Hi Everyone,
I have created the scheduled job but I am facing an issue while executing it even though I have manually run it using execute now button. I have also created a new scheduled job and added the logs but still it is not running and also not getting any logs as well. If anyone knows how to encounter this issue please help. Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 08:56 AM
As you haven't provided your code or configs, there is very little help I can provide.
Try commenting out all your code, keep only logs and see if the log messages show up.
Also, if you are in a scoped application, remember gs.log() will not work. And it will also stop further code execution. You will need to use gs.info('test');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 09:03 AM
Hi @PratikK098 ,
Please share the code to debug further.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2024 09:35 AM
Hi @PratikK098 ,
Did you check by adding log statements at the first line of code and last line of code?
There could be a possibility that code got broken in between.
Can you check in active transactions from left navigation whether the schedule job executed or not or is being executed currently on specific node.
There could be a possibility that no node was available to execute this job hence it didn't run.
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks & Regards,
Sumanth Meda