coreutils
[Top][All Lists]
Advanced

[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: Steeve McCauley
Subject: Re: [EXTERNAL] Re: Nohup command in the shell script is not able to execute by crontab
Date: Tue, 26 Jun 2018 09:37:14 -0400

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>
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] On Behalf Of CoreUtils
> subscribtion for PLC
> Sent: Tuesday, June 26, 2018 5:38 PM
> To: DH, ShreeLatha
> Cc: 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>>:
> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]