Looks like you forgot to specify the username to run the new.sh under.

43 5 * * * root /var/www/html/new.sh

Jeremiah Bess


On Sun, Jan 31, 2021 at 7:37 PM Mudassar Idrees <mudassar...@gmail.com>
wrote:

> Hi Dears,
> I'm unble to run script at a schedule in crontab,
> Script is working perfectly when run it in ssh shell.
> I have attached .sh script content and crontab contents, any one can help
> me to run it?
>
>
> --
>
>
> Please, consider your environmental responsibility.
> Before printing this e-mail ask yourself: "Do I need a hard copy?"
>
>
>
>
> --
> --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to linuxusersgroup@googlegroups.com
> To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
> ---
> You received this message because you are subscribed to the Google Groups
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to linuxusersgroup+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/linuxusersgroup/CABEHpPhpt%2BD35LXO%2Bcw5FzrvSJT5_dasxJ-ffEFMB1J%3DAGi8kA%40mail.gmail.com
> <https://groups.google.com/d/msgid/linuxusersgroup/CABEHpPhpt%2BD35LXO%2Bcw5FzrvSJT5_dasxJ-ffEFMB1J%3DAGi8kA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to linuxusersgroup@googlegroups.com
To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linuxusersgroup+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/CAN%2Braesqm%2BeAxqTOBsh-%3D%3DGW1PPjT5zw5%3D7iNOfGbE%3D-gzfEBQ%40mail.gmail.com.

Reply via email to