Schedule job is not running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 11:04 PM
Hi All,
There's a oob scheduled job "Add Manager Hub user role" is not running. I tried running that script in on-demand, still its not running. What could be the reason.?
I kept run as system administrator and also empty as well. Still no luck.
Kindly help me with this.
Regards,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 12:35 AM
Well that is weird. Different scopes do have limitations, but a simple gs.info() should work without any issues.
I wrote a similar scheduled job:
After executing it I got the log properly in the syslog table:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 12:49 AM
Yeah not sure what is stopping here, I will continue debugging this and will update my findings here.
Thank you @Weird for your inputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2023 11:33 PM
Check the System Schedule> Today's Schedule jobs module. If your job is running, the state will be Running
If no luck - Set the Scheduled Job's active flag to false and then set it back to true and save the record again. This will create a record in Today's scheduled jobs module
If I could help you with my response you can mark it as helpful and correct as it benefits future viewers
Thanks,
Sai Kumar B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 12:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 12:16 AM
Check the job schedule: Ensure that the scheduled job is set up correctly with the desired frequency and timing. Verify that there are no conflicts with other scheduled jobs or system maintenance windows.
Review the job configuration: Double-check the configuration settings of the scheduled job. Make sure the script path and parameters are correct. Verify that the appropriate permissions are assigned to the script and the user account running it.
Validate script dependencies: If the script relies on external resources or libraries, ensure that all dependencies are available and accessible. Check for any errors or warnings related to missing dependencies in the script logs.