28 May, 2023

Script not working via crontab

Issue:  

I have written one script which is running fine when i ran it manually  but same script when i have scheduled  in crontab not working.


Solution: 

Source .bash_profile  in your script. It should work.

Especially when you use EOF , you must source .bash_profile in the script

. ~/.bash_profile



Finding OPP Manager log for a concurrent request

=> Use below query to find the OPP manager log for a concurrent request.  SELECT fcpp.concurrent_request_id req_id, fcp.node_name, fcp.lo...