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 <[email protected]>
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:[email protected]]
>
>
> Thanks and Regards,
> Shreelatha D H
>
>
>
> From: [email protected] [mailto:[email protected]] On Behalf Of CoreUtils
> subscribtion for PLC
> Sent: Tuesday, June 26, 2018 5:38 PM
> To: DH, ShreeLatha
> Cc: [email protected]
> 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 <[email protected]
> <mailto:[email protected]>>:
> 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