scheduled job execute now not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 05:12 AM
Hi,
I have written a scheduled job to execute daily at 6 am to add user to one group and after writing the code when I saved it and clicked on execute now button, page refreshes but it do not do anything i.e. script do not executes.
But when I copy the same code and executes it from Background script it works perfectly fine. can anyone please provide the solution ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 05:20 AM
Ideally it should if it works in Background Script.
Have you added any logs in the code? If possible please share your code and Scheduled Job configuration screenshot.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2023 12:12 AM
Hello,
Please check for any Best practices conditions on the script and also try to add