Scheduled job is not running automatically, Every time i am executing manually.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:24 AM
I want to run the scheduled job automatically but is not doing, every time i have to click execute now button.
Could you let me know the reason why it is behaving it and how to correct it.
I have created this in scoped application because third party risk management is the scoped application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:38 AM
Hi @subbarayudu ,
Did you check if the gs.info logs are showing or not when it is running on scheduled time?
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:54 AM
@SN_Learn I have used gs.info and showing the info msg when it is running on scheduled time, but records are not updated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:57 AM
okay, if it is coming up then I think the issue is with the access of the 'run by' user here. When you are manually running it then it is executing with your account.
Instead of system admin put your account in the 'run by' and check if the record is updating or not at the scheduled time.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:49 AM
Hi
If the execute now button works as expected, the cause may be the execution user.
The user who runs the script for a scheduled job may be different depending on whether it is run automatically or by Execute Now.
First, check the transaction log to see if the scheduled job is executed.
Search the transaction log for records that contain the name of the scheduled job in the URL field.
Next, set the scheduled job script to record logs with gs.info(), and check how far the script has run and whether any errors have occurred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 08:57 AM
@Mio Matsushita I have used gs.info and checked the logs, its showing the info msg as well when it is running on scheduled time, but records are not updated in issue table