[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [EXTERNAL] Re: Nohup command in the shell script is not able to exec
From: |
DH, ShreeLatha |
Subject: |
RE: [EXTERNAL] Re: Nohup command in the shell script is not able to execute by crontab |
Date: |
Tue, 26 Jun 2018 13:54:29 +0000 |
Hi Steeve,
Thank you, I tried which you have mentioned but it is not working. Can you
please let me know if any other way is there to solve this issue.
Thanks and Regards,
Shreelatha D H
From: Steeve McCauley [mailto:address@hidden]
Sent: Tuesday, June 26, 2018 7:07 PM
To: DH, ShreeLatha
Cc: address@hidden; address@hidden
Subject: Re: [EXTERNAL] Re: Nohup command in the shell script is not able to
execute by crontab
I doubt that it's nohup, most likely something in your script that is missing
in the environment.
you could try running your script with bash as a login shell,
*/5 * * * * /bin/bash -l -c "/path/to/your/script"
On Tue, Jun 26, 2018 at 8:16 AM DH, ShreeLatha
<address@hidden<mailto:address@hidden>> wrote:
Hi Paul,
Ya I have given the exact path then also it will not run in crontab. Please
find the below screenshot for error.
[cid:image001.png@01D40D75.3FC53310]
Thanks and Regards,
Shreelatha D H
From: address@hidden<mailto:address@hidden>
[mailto:address@hidden<mailto:address@hidden>] On Behalf Of CoreUtils
subscribtion for PLC
Sent: Tuesday, June 26, 2018 5:38 PM
To: DH, ShreeLatha
Cc: address@hidden<mailto:address@hidden>
Subject: [EXTERNAL] Re: Nohup command in the shell script is not able to
execute by crontab
Hi
Do you have any error message ? Try also to set your PATH in the script.
Inherited PATH is not your login shell PATH
Regards
2018-06-26 12:27 GMT+02:00 DH, ShreeLatha
<address@hidden<mailto:address@hidden><mailto:address@hidden<mailto:address@hidden>>>:
Hi Team,
I have one script which is having nohup command in it and If I try to run that
script manually It is running without giving any error.
I want to run the same script using crontab every 5 minutes. If I do so except
nohup command the script is running.
So can you Please help me to run that script successfully using crontab.
Thanks and Regards,
Shreelatha D H
--
:wq