Execute Now button is not executing the code of scheduled job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2018 07:29 AM
Hi,
I have written a scheduled job to execute daily at 6 am. 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. Any idea why is that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2020 12:52 AM
Hello Amarjeet,
Yes, the issue was with the upgrade. There is a script include that does the compliance check and that script include did not upgraded. The function runContractComplianceCheckJob itself was missing was from the script include ContractManagementUtils :
runContractComplianceCheckJob : function(){
gs.include("ConditionChecks");
var o = new ConditionChecks();
gs.info(o.checkAll());
}
Adding above function in the script include resolved the issue.
Regards,
Kamlesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2020 12:58 AM
Hello Amarjeet,
I do not remember this issue getting resolved. That was an exceptional case. Are you facing any such issue now ? If yes, please mention your issue in detail with code, may be I can help.
Regards,
Kamlesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-29-2023 05:06 AM
i am also facing same issue, execute now is not working and background script is working fine, may i know how can i fix the issue