Due to infinite loop in scheduled job system logs are getting created continuesly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2017 10:18 PM
Hi All,
I have placed on log message in while loop of scheduled job (On Demand). When I executed that scheduled job, in one case the condition failed and became infinite loop. From past two days logs are continuesly getting created. I have chosen the kill option for active transactions but it hasn't stopped the creation of logs. Can anybody help me out.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2017 10:21 PM
Can you try making the scheduled job active false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2017 10:36 PM
Hi Srivastava,
Thank you for immediate response. I have made scheduled job active false and waited for some time and checked. Still logs getting created.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2017 10:51 PM
Can you please check if any other scheduled job causing issue? if you are sure that no other scheduled job is causing issue then may be you can try to flush the cache after making the scheduled job inactive. Is it your personal dev instance?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2017 11:02 PM
Hi Ravikiran,
i had faced similar kind of pain in my project.
if you will restart your node then it will be stop.
down your instance
http://wiki.servicenow.com/index.php?title=Cancelling_a_Transaction#gsc.tab=0