I have a .sh script that I've put in crontab with this command:
0 * * * * /root/Linux/lansare.sh
It doesn't run even though I made the script an executable. I checked it and it has x. I tried before the script to write : #!/bin/sh but it still doesn`t run
If I run it manually like
./lansare.sh from the folder it works.
Can you please help me make it work from crontab ?