Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    Thank you for pointing out my mistake. I have edited my cronjob. Hope it works in the next execution. Commented Aug 30, 2018 at 6:19
  • 1
    Thanks and Welcome. One things that I noticed you are as a new user in Unix.stackexchange.com community and other SO had several questions without accepting the answer. considering please take your time and accept the one which solved your question. thank you again Commented Aug 30, 2018 at 6:25
  • Will I get any mail while running cronjob if my script is not executable? Commented Aug 30, 2018 at 6:43
  • if you run with bash your_script.sh you no need to worry about executable. you can make it executable with chmod +x your_script.sh. I never used cron to sending mail, so not sure if it will send mail if was not able to execute, but that's sounds it should be Commented Aug 30, 2018 at 6:51
  • Thank you so much....Its working fine now....Also used chmod +x your_script.sh. Commented Aug 30, 2018 at 7:04